by insertion · 11y ago · 0 comments
0.1e0, 1e-1, 0.2e0, 2e-1 etc.What you really want, I think, is rationals by default, as in Perl 6.
So, Scheme?
It really ought to be fixed at the implementation level (how much stuff would it really break if floatin point errors went away?), but failing that I'd love a macro that did it for me. I can't figure out how to write one robustly.