jimav has asked for the wisdom of the Perl Monks concerning the following question:
Gives: Can't locate object method "_log" via package "Math::BigInt" at /home/jima/perl5/lib/perl5/Math/BigFloat.pm line 5737.use bugnum; say log(0.5);
Any other value works, such as
(which both print '-0.6931471805599453094172321214581765680755')say log(0.5000000000000000000000000000000000000000000001); say log(0.4999999999999999999999999999999999999999999999);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: log(0.5) with bignum blows up
by talexb (Chancellor) on Jan 04, 2024 at 02:59 UTC | |
|
Re: log(0.5) with bignum blows up
by Anonymous Monk on Jan 04, 2024 at 08:21 UTC |