in reply to Re^2: Decimal Floating Point (DFP) and does Perl needs DFP?
in thread Decimal Floating Point (DFP) and does Perl needs DFP?
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?" )
|
|---|