Hacker News new | past | comments | ask | show | jobs | submit login

Raku Perl 6 uses rationals by default for decimal literals. No imports necessary. You actually have to opt-in to floating point by using engineering notation.

https://docs.perl6.org/language/numerics#Rational




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: