5 /* Now define the internal interfaces. */
6 extern int __matherr (struct exception
*__exc
);
8 extern int __finite_internal (double __value
)
9 __attribute__ ((__const__
)) attribute_hidden
;
10 extern int __finitef_internal (float __value
)
11 __attribute__ ((__const__
)) attribute_hidden
;
13 extern int __isinf_internal (double __value
)
14 __attribute__ ((__const__
)) attribute_hidden
;
15 extern int __isnan_internal (double __value
)
16 __attribute__ ((__const__
)) attribute_hidden
;
18 #ifndef __NO_LONG_DOUBLE_MATH
19 extern int __finitel_internal (long double __value
)
20 __attribute__ ((__const__
)) attribute_hidden
;
22 extern int __isinfl_internal (long double __value
)
23 __attribute__ ((__const__
)) attribute_hidden
;
24 extern int __isnanl_internal (long double __value
)
25 __attribute__ ((__const__
)) attribute_hidden
;
28 #if !defined NOT_IN_libc || defined IS_IN_libm
30 # ifdef __NO_LONG_DOUBLE_MATH
31 # define isfinite(x) \
32 (sizeof (x) == sizeof (float) \
33 ? INTUSE(__finitef) (x) : INTUSE(__finite) (x))
35 # define isfinite(x) \
36 (sizeof (x) == sizeof (float) \
37 ? INTUSE(__finitef) (x) \
38 : sizeof (x) == sizeof (double) \
39 ? INTUSE(__finite) (x) : INTUSE(__finitel) (x))