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

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

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
June 7, 2019 14:53
Subject:
[perl #134171] ext/POSIX/t/math.t failure
Message ID:
rt-4.0.24-5945-1559919177-1133.134171-15-0@perl.org
On Fri, 07 Jun 2019 14:15:21 GMT, sisyphus@cpan.org wrote:
> 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

One possible approach:  revise hints/solaris_2.sh.  The string 'use64bitall' already occurs within that (and other) hints files.


-- 
James E Keenan (jkeenan@cpan.org)

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

Thread Previous | Thread Next


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