I probably found a bug in gnuplot
(Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: Linux 2.6.9-1.667).
Some divisions seem to give a zero result, while it should be 0.04. See
the following printout:
gnuplot> print 4/100
gnuplot> print 2/50
gnuplot> print 1/25
gnuplot> print 2/50.0000000000000000000000000000000000000000000000001
gnuplot> print 2/49.9999999999999999999999999999999999999999999999999
H.T. Steenstra wrote:
> I probably found a bug in gnuplot
No, you haven't. You just didn't read (or understand) enough of the
documentation to know that this:
> Some divisions seem to give a zero result, while it should be 0.04.
is wrong. They should not, because they're clearly documented
otherwise. See "help expressions".