develooper Front page | perl.perl5.porters | Postings from April 2015

[perl #124382] [PATCH] Speed up Math::BigFloat -> blog().

April 28, 2015 13:37
[perl #124382] [PATCH] Speed up Math::BigFloat -> blog().
Message ID:
> Q) Does this affect the overall precision of the floating point math?
> I am ignorant of the internals, but that sort of concern seems to be the
> sort of thing lay-folk who are simply using the library would care about,
> and so I'm just looking for some kind of assurance the rounding is not
> *premature* rounding.

The code already rounds to $scale+4 digits, in other cases which involve more intermediate computation, so using four extra digits in this case, should not make things any worse than they already are. I am working on a test program to check blog() more throughly.

via perlbug:  queue: perl5 status: open Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About