Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Deep recursion on subroutine "Math::BigFloat::bdiv" at /5.26.2/Math/BigInt.pm line 1867. Deep recursion on subroutine "Math::BigInt::Calc::_lsft" at /5.26.2/Math/BigFloat.pm line 1948. Deep recursion on anonymous subroutine at /5.26.2/Math/BigInt/Calc.pm line 1412. Deep recursion on subroutine "Math::BigInt::bdiv" at /5.26.2/Math/BigInt.pm line 54.Here's the math and the results when loading and not loading (but not directly using) both bignum and Astro::Units:
0.890298210735586perl -le '$Da=406700; $Dp=356400; $Dm=361918; $pct = ($Da - $Dm) / ($D +a - $Dp); print $pct'
0.8902982107355864811133200795228628230616perl -Mbignum -le '$Da=406700; $Dp=356400; $Dm=361918; $pct = ($Da - $ +Dm) / ($Da - $Dp); print $pct'
0.8902982perl -Mbignum -MAstro::Units -le '$Da=406700; $Dp=356400; $Dm=361918; +$pct = ($Da - $Dm) / ($Da - $Dp); print $pct'
0.890298210735586perl -MAstro::Units -le '$Da=406700; $Dp=356400; $Dm=361918; $pct = ($ +Da - $Dm) / ($Da - $Dp); print $pct'
Can anyone see what's going on here? That third result is puzzling. What could be causing such errors? Thanks!
|
|---|