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

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

From:
perlbug-followup
Date:
April 28, 2015 13:37
Subject:
[perl #124382] [PATCH] Speed up Math::BigFloat -> blog().
Message ID:
rt-4.0.18-16731-1430228216-1422.124382-15-0@perl.org
> 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
https://rt.perl.org/Ticket/Display.html?id=124382



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About