in reply to Re: What causes NaN when using bignum
in thread What causes NaN when using bignum

Which strongly suggests that the cause is one of the many possible binary modules (Math::BigInt::BitVect, Math::BigInt::Pari and Math::BigInt::GMP.) that can sit behind use bignum doesn't properly handle log.

If you could dump your %INC, maybe we could track down which one(s).


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: What causes NaN when using bignum

Replies are listed 'Best First'.
Re^3: What causes NaN when using bignum
by choroba (Cardinal) on May 25, 2011 at 22:52 UTC
    Math/BigInt.pm -> /ha/work/projects/perl_repo/Ubuntu/10.04/i686/ +share/perl/5.10/Math/BigInt.pm warnings/register.pm -> /usr/share/perl/5.10/warnings/register.pm Exporter/Heavy.pm -> /usr/share/perl/5.10/Exporter/Heavy.pm bigint.pm -> /ha/work/projects/perl_repo/Ubuntu/10.04/i686/ +share/perl/5.10/bigint.pm vars.pm -> /usr/share/perl/5.10/vars.pm strict.pm -> /usr/share/perl/5.10/strict.pm Exporter.pm -> /usr/share/perl/5.10/Exporter.pm constant.pm -> /ha/work/projects/perl_repo/Ubuntu/10.04/i686/ +share/perl/5.10/constant.pm Math/BigInt/Calc.pm -> /ha/work/projects/perl_repo/Ubuntu/10.04/i686/ +share/perl/5.10/Math/BigInt/Calc.pm warnings.pm -> /usr/share/perl/5.10/warnings.pm overload.pm -> /usr/share/perl/5.10/overload.pm integer.pm -> /usr/share/perl/5.10/integer.pm
    On the other hand, works well on perl 5.12.1 on openSUSE 11.3.
    Update: paths added. I checked everything in the perl_repo, it's latest CPAN version available.