lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #ifndef _MATH_H |
| 2 | |
| 3 | #include <math/math.h> |
| 4 | |
| 5 | #ifndef _ISOMAC |
| 6 | /* Now define the internal interfaces. */ |
| 7 | extern int __matherr (struct exception *__exc); |
| 8 | |
| 9 | # if IS_IN (libc) || IS_IN (libm) |
| 10 | hidden_proto (__finite) |
| 11 | hidden_proto (__isinf) |
| 12 | hidden_proto (__isnan) |
| 13 | hidden_proto (__finitef) |
| 14 | hidden_proto (__isinff) |
| 15 | hidden_proto (__isnanf) |
| 16 | |
| 17 | # ifndef __NO_LONG_DOUBLE_MATH |
| 18 | hidden_proto (__finitel) |
| 19 | hidden_proto (__isinfl) |
| 20 | hidden_proto (__isnanl) |
| 21 | # endif |
| 22 | # endif |
| 23 | |
| 24 | libm_hidden_proto (__fpclassify) |
| 25 | libm_hidden_proto (__fpclassifyf) |
| 26 | libm_hidden_proto (__issignaling) |
| 27 | libm_hidden_proto (__issignalingf) |
| 28 | libm_hidden_proto (__exp) |
| 29 | libm_hidden_proto (__expf) |
| 30 | |
| 31 | # ifndef __NO_LONG_DOUBLE_MATH |
| 32 | libm_hidden_proto (__fpclassifyl) |
| 33 | libm_hidden_proto (__issignalingl) |
| 34 | libm_hidden_proto (__expl) |
| 35 | libm_hidden_proto (__expm1l) |
| 36 | # endif |
| 37 | |
| 38 | extern int __isinf_ns (double); |
| 39 | extern int __isinf_nsf (float); |
| 40 | extern int __isinf_nsl (long double); |
| 41 | |
| 42 | #endif |
| 43 | #endif |