Re:0.30000000000000004
by haddr on Sunday April 02, 2017 @04:48PM
(#14018967)
For this reason R has a function for comparing results of floating point math: all.equal()
it is quite tricky as it might show that .1+.2 is 0.3, but this is only due to the fact that default output is a subject of default formatting (i.e. occulting more precision numbers)
it is quite tricky as it might show that .1+.2 is 0.3, but this is only due to the fact that default output is a subject of default formatting (i.e. occulting more precision numbers)