in reply to Re^3: Help me make a test case for Math::BigFloat
in thread Help me make a test case for Math::BigFloat
All of which makes me glad that I rarely need the accuracy beyond 53-bits and when I do, 64-bit ints suffice.
This is why I prefer to keep things as rationals (or bigrats), rather than floats - it's possible to represent them accurately without encountering the inevitable rounding or truncating errors. True, all the irrational numbers will still truncate, but the rationals won't. I only use the decimal representation for display purposes, sometimes.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Help me make a test case for Math::BigFloat
by fizbin (Chaplain) on Mar 07, 2006 at 07:01 UTC | |
by spiritway (Vicar) on Mar 07, 2006 at 07:09 UTC | |
by fizbin (Chaplain) on Mar 07, 2006 at 13:31 UTC | |
by spiritway (Vicar) on Mar 07, 2006 at 23:20 UTC |
In Section
Seekers of Perl Wisdom