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

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

Thread Previous
From: via RT
June 7, 2019 14:15
[perl #134171] ext/POSIX/t/math.t failure
Message ID:
On Fri, 07 Jun 2019 06:39:03 -0700, 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 ....


via perlbug:  queue: perl5 status: open

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About