3 ms·
IBM has had a solution for a long time: http://speleotrove.com/decimal/decarith.html http://speleotrove.com/decimal/decarith.html Python uses it: https://docs.
by zie 8y ago
IBM has had a solution for a long time: http://speleotrove.com/decimal/decarith.html http://speleotrove.com/decimal/decarith.html
Python uses it: https://docs.python.org/3.5/library/decimal.html https://docs.python.org/3.5/library/decimal.html
Just because JS is stupid doesn't mean other languages are.
- TeMPOraL 8y ago> Just because JS is stupid doesn't mean other languages are. This bewilders me. They keep cramming so much new stuff into JS these days - arrow operators, promises, async/await, God knows what, but not ints? I'm not asking for the whole numeric tower of Lisp languages, I can live without rationals and bignums and complex numbers. But a God's own fixed-width integer. You'd think they'd add it in the years since JS started being used for serious things.