Charles Lu said:

> Hi

Hello

> If i want to compare 2 values in scientific notation i.e.
>
> 1.2e-400      4.3e-200
>
>
> I cannot use simply use "< , > " operator.  For some reason,
> 0 > 1e-400.

That's a pretty small number.  On most 32 bit systems the smallest number
you'll be able to store is 2.2250738585072014E-308.

> Is there a module I can use?

Math::BigFloat

> thanks

You're welcome.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to