aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/s_nextafterl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/fpu/s_nextafterl.c b/sysdeps/i386/fpu/s_nextafterl.c
index eaf3b0b83a..5b617cb4e7 100644
--- a/sysdeps/i386/fpu/s_nextafterl.c
+++ b/sysdeps/i386/fpu/s_nextafterl.c
@@ -61,9 +61,9 @@ static char rcsid[] = "$NetBSD: $";
/* x > y, x -= ulp */
if(lx==0) {
if (hx <= 0x80000000) {
- if (esx == 0)
- hx = 0;
- else {
+ if (esx == 0) {
+ --hx;
+ } else {
esx -= 1;
hx = hx - 1;
if (esx > 0)