This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi! *fdim* is declared c99 only in mathcalls.h, so mathinline.h should match that. 2000-06-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if __USE_ISOC99. (fdimf, __fdim, fdim): Likewise. --- libc/sysdeps/alpha/fpu/bits/mathinline.h.jj Wed Jun 7 17:29:56 2000 +++ libc/sysdeps/alpha/fpu/bits/mathinline.h Wed Jun 7 17:32:30 2000 @@ -152,6 +152,8 @@ __MATH_INLINE float floorf (float __x) _ __MATH_INLINE double floor (double __x) __THROW { return __floor(__x); } +#ifdef __USE_ISOC99 + __MATH_INLINE float __fdimf (float __x, float __y) __THROW { return __x < __y ? 0.0f : __x - __y; @@ -171,3 +173,5 @@ __MATH_INLINE double fdim (double __x, d { return __x < __y ? 0.0 : __x - __y; } + +#endif Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |