This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
vax-netbsd: Negative zero is only a thing IEEE 754.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 21 Oct 2016 12:27:47 +0000 (08:27 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 22 Oct 2016 00:13:39 +0000 (20:13 -0400)
commit0c61ae02299600bef03a658fcaefd0252964c4b8
tree3fbe045d352b111a3a667acc7f0970c1ca36eae5
parentbd294f6471d5d4f40e13a19a5840352c24d781ef
vax-netbsd: Negative zero is only a thing IEEE 754.

So don't assume it universal in the signbit emulation.

For non-IEEE-754, negative zero is equal to the positive zero.

(Another matter is that signbit() should have been found
in the Configure scan; it does exist in the netbsd/vax.)
ext/POSIX/POSIX.xs