Re:0.30000000000000004
by seba_dos1 on Sunday April 02, 2017 @03:25PM
(#14018535)
That "digits=18" in R example probably bothers me more than it should.
[ Parent
| on HN ]
Re:0.30000000000000004
by lacampbell on Sunday April 02, 2017 @04:05PM
(#14018770)
I was literally wondering why R gave an "accurate" result for 0.2 + 0.1 the other night, despite using doubles. The printer has an algorithm to round then stringify