in reply to Re^3: floating point addition
in thread floating point addition
Does not seem to work either - I don't know why not...perl -Mbigrat -e ' printf "%20.17f\n", 20/1+1/10;' 20.10000000000000142 perl -Mbigrat -e ' printf "%20.17f\n", 201/10;' 20.10000000000000142
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: floating point addition
by choroba (Cardinal) on Jan 12, 2015 at 22:49 UTC | |
by morgon (Priest) on Jan 13, 2015 at 01:34 UTC | |
by choroba (Cardinal) on Jan 13, 2015 at 08:39 UTC |