* sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:

with omitted middle operand.
This commit is contained in:
Roland McGrath 2003-12-24 01:10:17 +00:00
parent 432aaf5b3c
commit 4e142297fd
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2000-05-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:
with omitted middle operand.
2003-12-22 Jakub Jelinek <jakub@redhat.com>
* posix/regcomp.c: Remove C99-ism.

View file

@ -381,7 +381,8 @@ __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
__temp += __value; \
return __temp ? __temp : __x
__inline_mathcodeNP_ (long double, __expm1l, __x, __expm1_code)