in reply to Determining when Math::BigFloat is necessary?

You could always write a regular expression and see how many digits the number has and then base your answer on the return for the regexp.
if ($digit =~ /\d{6}/)
{
print "use bigfloat\n";
}
  • Comment on Re: Determining when Math::BigFloat is necessary?

Replies are listed 'Best First'.
Re: Re: Determining when Math::BigFloat is necessary?
by jasonk (Parson) on Feb 03, 2003 at 19:28 UTC
    But how do you determine how many digits is too many on the current platform?