This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tru64: introduce PERL_SYS_FPU_INIT, use it.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 24 Sep 2014 20:23:11 +0000 (16:23 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 26 Sep 2014 21:04:52 +0000 (17:04 -0400)
commita308b05acde5d644385536b0b51b622a5d7c0dae
tree4b53b019501bec7bc6a7c555db6737555608b3dd
parent877206dfe0caef9a95cc20c69822774122a32361
Tru64: introduce PERL_SYS_FPU_INIT, use it.

In Tru64 the cc -ieee enables the IEEE math but disables traps.
We need to reenable the "invalid" trap because otherwise generation
of NaN values leaves the IEEE fp flags in bad state, leaving any further
fp ops behaving strangely (Inf + 1 resulting in zero, for example).
ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
miniperlmain.c
perl.h