Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3156

incorrect arithmetik?

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject incorrect arithmetik?
Date 2016-01-12 11:40 +0100
Organization Universitaet Hannover
Message-ID <n72l7f$865$1@newsserver.rrzn.uni-hannover.de> (permalink)

Show all headers | View raw


Hello,

I can not found the solution to the following problem:

b=7.2-6.9
c=8.2-7.9

show variables

User and default variables:
pi = 3.14159265358979
NaN = NaN
GNUTERM = "windows"
b = 0.3
c = 0.299999999999999

Why is c not 0.3?

Jörg

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

incorrect arithmetik? Jörg Buchholz <bookwood4new@freenet.de> - 2016-01-12 11:40 +0100
  Re: incorrect arithmetik? Karl Ratzsch <mail.kfr@gmx.net> - 2016-01-12 14:19 +0100
    Re: incorrect arithmetik? Jörg Buchholz <bookwood4news@freenet.de> - 2016-01-12 18:50 +0100
      Re: incorrect arithmetik? Gene Wagenbreth <gwagenbreth@gmail.com> - 2016-02-17 23:30 -0800
  Re: incorrect arithmetik? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-01-12 17:06 +0100

csiph-web