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

[perl #121666] [PATCH] Fix RT #43692: Math::BigFloat -> blog() is sometimes incorrect

Thread Previous
From:
perlbug-followup
Date:
April 15, 2014 15:59
Subject:
[perl #121666] [PATCH] Fix RT #43692: Math::BigFloat -> blog() is sometimes incorrect
Message ID:
rt-4.0.18-15869-1397577574-1176.121666-75-0@perl.org
# New Ticket Created by  (Peter J. Acklam) 
# Please include the string:  [perl #121666]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=121666 >


Fix RT #43692: Math::BigFloat -> blog() is sometimes incorrect

dist/Math-BigInt/lib/Math/BigFloat.pm: Patched as suggested in RT #43692.
blog(x) would sometimes return blog(2*x) when the accuracy was greater than
70 digits.

t/biglog.t: Fixed incorrect use of ok(). Edited a test case so it fails without
this patch.
Thread Previous


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