3 ms·
Are there many popular languages which have easy support for floating point decimal numbers? (As in, number literals are interpreted as decimals?) Or do you jus
by jacobolus 16y ago
Are there many popular languages which have easy support for floating point decimal numbers? (As in, number literals are interpreted as decimals?) Or do you just want them to use a language with floating point binary numbers, but with a consistent implementation on every platform? (That seems pretty far from ideal to me, too.)
Or perhaps a better generalization of my question: is there any language which won’t be abused horribly by Joe random bond issuer? Python seems like a pretty good choice for minimizing the damage a clueless guy can do, and making it as possible as can be hoped for others reading even awful code to figure out what it does.
- btilly 16y agoFor their purposes, either have a consistent implementation on every platform or have a clearly specified reference platform for resolving any disputes. But if you say, "This program is authoritative" then you're left with problems if that program gives different results for different people.