summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/bits/mathinline.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/bits/mathinline.h')
-rw-r--r--libc/sysdeps/linux/i386/bits/mathinline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/bits/mathinline.h b/libc/sysdeps/linux/i386/bits/mathinline.h
index e8091df68..0464003b7 100644
--- a/libc/sysdeps/linux/i386/bits/mathinline.h
+++ b/libc/sysdeps/linux/i386/bits/mathinline.h
@@ -381,7 +381,7 @@ __sincosl (long double __x, long double *__sinx, long double *__cosx) __THROW
("fscale # 2^int(x * log2(e))\n\t" \
: "=t" (__temp) : "0" (1.0), "u" (__exponent)); \
__temp -= 1.0; \
- return __temp + __value ?: __x
+ return __temp + __value ? __temp + __value : __x
__inline_mathcodeNP_ (long double, __expm1l, __x, __expm1_code)