| 1 | #ifndef _MATH_H |
|---|---|
| 2 | |
| 3 | #ifdef _ISOMAC |
| 4 | # undef NO_LONG_DOUBLE |
| 5 | # undef _Mlong_double_ |
| 6 | #endif |
| 7 | |
| 8 | #include <math/math.h> |
| 9 | |
| 10 | #ifndef _ISOMAC |
| 11 | /* Now define the internal interfaces. */ |
| 12 | extern int __matherr (struct exception *__exc); |
| 13 | |
| 14 | extern int __signgam; |
| 15 | |
| 16 | # if IS_IN (libc) || IS_IN (libm) |
| 17 | hidden_proto (__finite) |
| 18 | hidden_proto (__isinf) |
| 19 | hidden_proto (__isnan) |
| 20 | hidden_proto (__finitef) |
| 21 | hidden_proto (__isinff) |
| 22 | hidden_proto (__isnanf) |
| 23 | |
| 24 | # ifndef __NO_LONG_DOUBLE_MATH |
| 25 | hidden_proto (__finitel) |
| 26 | hidden_proto (__isinfl) |
| 27 | hidden_proto (__isnanl) |
| 28 | # endif |
| 29 | |
| 30 | # if __HAVE_DISTINCT_FLOAT128 |
| 31 | hidden_proto (__finitef128) |
| 32 | hidden_proto (__isinff128) |
| 33 | hidden_proto (__isnanf128) |
| 34 | hidden_proto (__signbitf128) |
| 35 | # endif |
| 36 | # endif |
| 37 | |
| 38 | libm_hidden_proto (__fpclassify) |
| 39 | libm_hidden_proto (__fpclassifyf) |
| 40 | libm_hidden_proto (__issignaling) |
| 41 | libm_hidden_proto (__issignalingf) |
| 42 | libm_hidden_proto (__exp) |
| 43 | libm_hidden_proto (__expf) |
| 44 | libm_hidden_proto (roundeven) |
| 45 | |
| 46 | # ifndef __NO_LONG_DOUBLE_MATH |
| 47 | libm_hidden_proto (__fpclassifyl) |
| 48 | libm_hidden_proto (__issignalingl) |
| 49 | libm_hidden_proto (__expl) |
| 50 | libm_hidden_proto (__expm1l) |
| 51 | # endif |
| 52 | |
| 53 | # if __HAVE_DISTINCT_FLOAT128 |
| 54 | libm_hidden_proto (__fpclassifyf128) |
| 55 | libm_hidden_proto (__issignalingf128) |
| 56 | libm_hidden_proto (__expf128) |
| 57 | libm_hidden_proto (__expm1f128) |
| 58 | # endif |
| 59 | |
| 60 | #endif |
| 61 | #endif |
| 62 |