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
;
12 extern int __finitel_internal (long double __value
)
13 __attribute__ ((__const__
)) attribute_hidden
;
15 #if !defined NOT_IN_libc || defined IS_IN_libm
17 # ifdef __NO_LONG_DOUBLE_MATH
18 # define isfinite(x) \
19 (sizeof (x) == (sizeof (float) \
20 ? INTUSE(__finitef) (x) : INTUSE(__finite) (x)))
22 # define isfinite(x) \
23 (sizeof (x) == sizeof (float) \
24 ? INTUSE(__finitef) (x) \
25 : sizeof (x) == sizeof (double) \
26 ? INTUSE(__finite) (x) : INTUSE(__finitel) (x))