in reply to Decimal Floating Point (DFP) and does Perl needs DFP?
it will apparently store internally "1/3", a Rat type, not "0.333333...".my $c = 1/3;
I suppose this will remove some of the problems associated with floating point calculations, but probably not all of them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Decimal Floating Point (DFP) and does Perl needs DFP?
by syphilis (Archbishop) on Jan 17, 2015 at 23:58 UTC | |
by raiph (Deacon) on Jan 20, 2015 at 05:50 UTC | |
|
Re^2: Decimal Floating Point (DFP) and does Perl needs DFP?
by flexvault (Monsignor) on Jan 17, 2015 at 13:03 UTC |