23 Déc
2013
23 Déc
'13
19:44
Dear Marc or Brad, First - Happy Holidays! :)) A Q:
#e0.3 3/10 (inexact->exact 0.3) 5404319552844595/18014398509481984
#e0.2 1/5 (inexact->exact 0.2) 3602879701896397/18014398509481984
Why the different results? Is there any way to get the #e behavior in a more effective way than (string-append "#e" (number->string n))? The end goal here is to get decimal arithmetics with precision e.g. (float (* (- 0.3 0.2) 10)) != 0. Thanks, Mikael