Though, I assume non-suffixed literals are still regular floats?
Though, I assume non-suffixed literals are still regular floats?
That said, the above notation makes advice to those who are having trouble a lot easier.
It's also slow as molasses, which is why very few languages default to decimal floats and use IEEE floats (or doubles) instead, via their hardware implementation. The behavior of IEEE floats and doubles is very well defined, and though they are unfit in some sectors (you do not want to count money using them), have to be massaged a bit when displayed and don't deal well with great differences in powers-of-10 (e.g. 1e21 + 1 == 1e21) they work well enough in practice. And they're implemented in hardware.
Seems like other delta's (e.g. how many NaN's are implemented) don't much matter.
http://java.sun.com/docs/books/jvms/second_edition/html/Conc...
Ah yes. Well not all languages require a bunch of boilerplate either. In Python for instance, there is a type decimal.Decimal which you can just alias to `d` and write:
val = d('0.1')