To quote the user doc for Rat:
"To prevent the numerator and denominator from becoming pathologically large, the denominator is limited to 64 bit storage. On overflow of the denominator a Num (floating-point number) is returned instead."
and
"If you want arbitrary precision arithmetic with rational numbers, use the FatRat type instead."
»ö« . o O ( "the celebrity tell-all of the Perl-6 cult?" )
In reply to Re^3: Decimal Floating Point (DFP) and does Perl needs DFP?
by raiph
in thread Decimal Floating Point (DFP) and does Perl needs DFP?
by flexvault
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |