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

[perl #122571] sqrt() and sin() broken in AIX with long doubles

Thread Next
Jarkko Hietaniemi via RT
September 8, 2014 13:07
[perl #122571] sqrt() and sin() broken in AIX with long doubles
Message ID:
On Sun Aug 31 08:58:00 2014, jhi wrote:
> I opened a new ticket (122668) because the combination of long doubles 
> and infinity can be so broken in AIX.  The brokenness, if present, is 
> detected dynamically in hints/, in an upcoming change, and if 
> detected, long doubles is disabled.
> If, however, long doubles still seem valid in AIX, another set of 
> upcoming patches fixes sqrt and sin by (a) implementing pp_sin (which 
> implements sqrt etc) a bit different by not using function pointers (b) 
> by removing the tests from t/op/exp.t that depend on testing trig


Though still applies: long doubles seem to be quite broken in AIX, and can often (always?) be disabled, by the AIX hints.

> functions "very near" pi/-pi (c) dynamically detecting the potential 
> brokenness of powl() in AIX (a known issue) and using a workaround for it.
> >

via perlbug:  queue: perl5 status: open

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