aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/math_core.h
blob: f39ac3f90cf01fe879dae60a81ebaa74e359b5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"fixinc/tests/inc/internal/math_core.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */



#if defined( IRIX___GENERIC1_CHECK )
extern int isnan(double);
extern int isnanf(float);
extern int isnanl(long double);
#define isnan(x) (sizeof(x) == sizeof(double) ? _isnan(x) \
               : sizeof(x) == sizeof(float) ? _isnanf(x) \
               : _isnanl(x))


#endif  /* IRIX___GENERIC1_CHECK */


#if defined( IRIX___GENERIC2_CHECK )
#define isless(x,y) \
  ((sizeof(x)<=4 && sizeof(y)<=4) ? _islessf(x,y) \
   : (sizeof(x)<=8 && sizeof(y)<=8) ? _isless(x,y) \
   : _islessl(x,y))

#endif  /* IRIX___GENERIC2_CHECK */