develooper Front page | perl.perl5.porters | Postings from June 2019

[perl #134171] ext/POSIX/t/math.t failure

Thread Previous
From:
sisyphus@cpan.org via RT
Date:
June 7, 2019 14:15
Subject:
[perl #134171] ext/POSIX/t/math.t failure
Message ID:
rt-4.0.24-6962-1559916922-1824.134171-15-0@perl.org
On Fri, 07 Jun 2019 06:39:03 -0700, rares.aioanei@gmail.com wrote:
> Attached is the output of 'perl -V' as requested. 'make test' succeeds
> and both calls to tanh() return the same value, the one you predicted.
> Please let me know if there is anything else or if you need testing on
> Solaris in the future.

We can see from that 'perl -V' output that the "-Duse64bitall" argument puts the C compiler into 64 bit mode.
It therefore appears that, although the 32 bit mode of tanh() is buggy, the 64 bit mode works correctly.

Should we consider providing a fix/workaround for the 32 bit mode calculation ?
I don't know ... I would simply offer the advice "configure your perl build with -Duse64bitall" and leave it at that, but others might consider that to be inadequate ....

Cheers,
Rob




---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=134171

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