On 9/3/05, Sagar Nargundkar <[EMAIL PROTECTED]> wrote: > Hi, > > I need to use small floating point numbers. Is there a perl module > that allows us to use arbitrarily small floats (of the order 10^-20)? > Something similar to Math::BigFloat which allows us to use arbitrarily > large floats. > > thanks, > Sagar
Sagar, "Big" in BigInt and BigFloat refers to the absolute value, not wherther the number is positive or negative. 10e20 and 10e-20 are both equally "Big". in fact, if you'd read the docs for Math::BigInt, you would have found that this is the firt example: $i = new Math::BigFloat '12_3.456_789_123_456_789E-2'; -- jay -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.dpguru.com http://www.engatiki.org values of β will give rise to dom!