]> git.ipfire.org Git - thirdparty/gcc.git/blob - fixincludes/tests/base/internal/math_core.h
Made fixincludes a toplevel build module.
[thirdparty/gcc.git] / fixincludes / tests / base / internal / math_core.h
1 /* DO NOT EDIT THIS FILE.
2
3 It has been auto-edited by fixincludes from:
4
5 "fixinc/tests/inc/internal/math_core.h"
6
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
9
10
11
12 #if defined( IRIX___GENERIC1_CHECK )
13 extern int isnan(double);
14 extern int isnanf(float);
15 extern int isnanl(long double);
16 #define isnan(x) (sizeof(x) == sizeof(double) ? _isnan(x) \
17 : sizeof(x) == sizeof(float) ? _isnanf(x) \
18 : _isnanl(x))
19
20
21 #endif /* IRIX___GENERIC1_CHECK */
22
23
24 #if defined( IRIX___GENERIC2_CHECK )
25 #define isless(x,y) \
26 ((sizeof(x)<=4 && sizeof(y)<=4) ? _islessf(x,y) \
27 : (sizeof(x)<=8 && sizeof(y)<=8) ? _isless(x,y) \
28 : _islessl(x,y))
29
30 #endif /* IRIX___GENERIC2_CHECK */