3 ms·
I would only consider a language with built-in big rational numbers.
by malkia 17y ago
I would only consider a language with built-in big rational numbers.
- ableal 17y agohttp://docs.python.org/library/decimal.html http://docs.python.org/library/decimal.html
- JeremyBanks 17y agoThat's not rational, this is: http://docs.python.org/library/fractions.html http://docs.python.org/library/fractions.html
- ableal 17y agoYou're right (and thanks, hadn't seen that 'novelty' yet). My reply was more in the vein "what you probably need, not exactly what you asked" - these not strictly 'built-in' either. (That could be a bad idea, cf. second and last items of the Zen [python -c "import this"]).
- eru 17y agoWhy built-in? Good library support (and bearable syntax) should be sufficient.