(_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call. Simply error...
[glibc.git] / include / math.h
blob1dd1a1454a875f79e92caa679b35781c97f25d86
1 #ifndef _MATH_H
3 #include <math/math.h>
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;
26 #endif
28 #if !defined NOT_IN_libc || defined IS_IN_libm
29 # undef isfinite
30 # ifdef __NO_LONG_DOUBLE_MATH
31 # define isfinite(x) \
32 (sizeof (x) == sizeof (float) \
33 ? INTUSE(__finitef) (x) : INTUSE(__finite) (x))
34 # else
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))
40 # endif
41 #endif
44 #endif