2 ms·
That "digits=18" in R example probably bothers me more than it should.
by seba_dos1 10y ago
That "digits=18" in R example probably bothers me more than it should.
- jwilk 10y agohttps://github.com/erikwiffin/0.30000000000000004/pull/107 https://github.com/erikwiffin/0.30000000000000004/pull/107
- lacampbell 10y agoI 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