in reply to Re: Math::BigFloat bnok() question
in thread Math::BigFloat bnok() question

That is the format I used first. The error message is the same whether I use

$z = $y->bnok($x);

or

$z = $y->Math::BigFloat::bnok($x);

Replies are listed 'Best First'.
Re^3: Math::BigFloat bnok() question
by Corion (Patriarch) on Aug 27, 2015 at 19:58 UTC

    This likely means that your $x and $y are not Math::BigFloat objects. Maybe you want to convert them to that?

    $x = Math::BigFloat->new( $x ); $y = Math::BigFloat->new( $y );

    But most likely, you have already lost some precision you likely wanted to keep. You should convert your numbers to BigFloats at the earliest possibility.

Re^3: Math::BigFloat bnok() question
by BrowserUk (Patriarch) on Aug 27, 2015 at 20:03 UTC