diff options
Diffstat (limited to 'src/math/nextafterl.c')
-rw-r--r-- | src/math/nextafterl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 611ea53d..c09d9dd0 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -39,7 +39,8 @@ long double nextafterl(long double x, long double y) return x + x; /* raise underflow if ux.value is subnormal or zero */ if (ux.bits.exp == 0) { - volatile float z = x*x + ux.value*ux.value; + volatile float z; + z = x*x + ux.value*ux.value; } return ux.value; } @@ -77,7 +78,8 @@ long double nextafterl(long double x, long double y) return x + x; /* raise underflow if ux.value is subnormal or zero */ if (ux.bits.exp == 0) { - volatile float z = x*x + ux.value*ux.value; + volatile float z; + z = x*x + ux.value*ux.value; } return ux.value; } |