This source file includes following definitions.
- main
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #include <config.h>
20
21 #include <math.h>
22
23 #include "signature.h"
24 SIGNATURE_CHECK (ilogbl, int, (long double));
25
26 #include <float.h>
27 #include <limits.h>
28
29 #include "minus-zero.h"
30 #include "infinity.h"
31 #include "nan.h"
32 #include "macros.h"
33
34 #undef INFINITY
35 #undef NAN
36
37 #define DOUBLE long double
38 #define VOLATILE
39 #define INFINITY Infinityl ()
40 #define NAN NaNl ()
41 #define L_(literal) literal##L
42 #define MINUS_ZERO minus_zerol
43 #define MAX_EXP LDBL_MAX_EXP
44 #define MIN_EXP LDBL_MIN_EXP
45
46
47
48
49
50 #ifdef __sgi
51 # define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
52 #elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
53 # define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
54 #else
55 # define MIN_NORMAL_EXP LDBL_MIN_EXP
56 #endif
57 #define ILOGB ilogbl
58 #define RANDOM randoml
59 #include "test-ilogb.h"
60
61 int
62 main ()
63 {
64 test_function ();
65
66 return 0;
67 }