summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2016-10-21 08:33:16 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2016-10-21 20:13:40 -0400
commitb76dad153351f50f46ba283bb0da075b93e89838 (patch)
treecab66affe4ab299fe90eceb6afa538c839697bc1 /Configure
parent98492e812e730560d7b5aad699aa532f7369a8d0 (diff)
downloadperl-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-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 7c598e90d1..a68b670dbf 100755
--- a/Configure
+++ b/Configure
@@ -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