diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-10-21 08:33:16 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2016-10-21 20:13:40 -0400 |
commit | b76dad153351f50f46ba283bb0da075b93e89838 (patch) | |
tree | cab66affe4ab299fe90eceb6afa538c839697bc1 /Configure | |
parent | 98492e812e730560d7b5aad699aa532f7369a8d0 (diff) | |
download | perl-b76dad153351f50f46ba283bb0da075b93e89838.tar.gz |
Configure: signbit scan assuming too much
It was assuming a negative zero, which is an IEEE-754 only concept.
There is no need to assume the negative zero for the correct
functioning of the signbit, however.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18802,7 +18802,7 @@ $cat >try.c <<EOCP int main(int argc, char **argv) { NV x = 0.0; - NV y = -0.0; + NV y = -1.0; if ((signbit(x) == 0) && (signbit(y) != 0)) return 0; else |