Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: gcc/fixincludes/tests/base/math.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/fixincludes/tests/base/inttypes.h ('k') | gcc/fixincludes/tests/base/pthread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* DO NOT EDIT THIS FILE. 1 /* DO NOT EDIT THIS FILE.
2 2
3 It has been auto-edited by fixincludes from: 3 It has been auto-edited by fixincludes from:
4 4
5 "fixinc/tests/inc/math.h" 5 "fixinc/tests/inc/math.h"
6 6
7 This had to be done to correct non-standard usages in the 7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */ 8 original, manufacturer supplied header file. */
9 9
10 #ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION 10 #ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION
11 #define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1 11 #define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1
12 12
13 #ifdef __cplusplus 13 #ifdef __cplusplus
14 #define exception __math_exception 14 #define exception __math_exception
15 #endif 15 #endif
16 #ifndef FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE
17 #define FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE 1
18
19 struct exception;
20 16
21 17
22 #if defined( AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK ) 18 #if defined( AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK )
23 #include <architecture/ppc/math.h> 19 #include <architecture/ppc/math.h>
24 #endif /* AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK */ 20 #endif /* AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK */
25 21
26 22
27 #if defined( BROKEN_CABS_CHECK ) 23 #if defined( BROKEN_CABS_CHECK )
28 #ifdef __STDC__ 24 #ifdef __STDC__
29 25
30 #else 26 #else
31 27
32 #endif 28 #endif
33 29
34 /* This is a comment 30 /* This is a comment
35 and it ends here. */ 31 and it ends here. */
36 32
37 33
38 #endif /* BROKEN_CABS_CHECK */ 34 #endif /* BROKEN_CABS_CHECK */
39 35
40 36
41 #if defined( EXCEPTION_STRUCTURE_CHECK )
42 extern int matherr();
43 #endif /* EXCEPTION_STRUCTURE_CHECK */
44
45
46 #if defined( HPPA_HPUX_FP_MACROS_CHECK ) 37 #if defined( HPPA_HPUX_FP_MACROS_CHECK )
47 #endif /* _INCLUDE_HPUX_SOURCE */ 38 #endif /* _INCLUDE_HPUX_SOURCE */
48 39
49 #if defined(_INCLUDE_HPUX_SOURCE) || \ 40 #if defined(_INCLUDE_HPUX_SOURCE) || \
50 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) 41 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
51 # define FP_NORMAL 0 42 # define FP_NORMAL 0
52 # define FP_ZERO 1 43 # define FP_ZERO 1
53 # define FP_INFINITE 2 44 # define FP_INFINITE 2
54 # define FP_SUBNORMAL 3 45 # define FP_SUBNORMAL 3
55 # define FP_NAN 4 46 # define FP_NAN 4
(...skipping 17 matching lines...) Expand all
73 #endif 64 #endif
74 #endif /* HPUX11_FABSF_CHECK */ 65 #endif /* HPUX11_FABSF_CHECK */
75 66
76 67
77 #if defined( HPUX8_BOGUS_INLINES_CHECK ) 68 #if defined( HPUX8_BOGUS_INLINES_CHECK )
78 extern "C" int abs(int); 69 extern "C" int abs(int);
79 70
80 #endif /* HPUX8_BOGUS_INLINES_CHECK */ 71 #endif /* HPUX8_BOGUS_INLINES_CHECK */
81 72
82 73
83 #if defined( ISC_FMOD_CHECK )
84 extern double fmod(double, double);
85 #endif /* ISC_FMOD_CHECK */
86
87
88 #if defined( MATH_EXCEPTION_CHECK ) 74 #if defined( MATH_EXCEPTION_CHECK )
89 typedef struct exception t_math_exception; 75 typedef struct exception t_math_exception;
90 #endif /* MATH_EXCEPTION_CHECK */ 76 #endif /* MATH_EXCEPTION_CHECK */
91 77
92 78
93 #if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK ) 79 #if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
94 80
95 #define HUGE_VAL 3.1415e+9 /* really big */ 81 #define HUGE_VAL 3.1415e+9 /* really big */
96 #endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */ 82 #endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
97 83
98 84
99 #if defined( RS6000_DOUBLE_CHECK ) 85 #if defined( RS6000_DOUBLE_CHECK )
100 #ifndef __cplusplus 86 #ifndef __cplusplus
101 extern int class(); 87 extern int class();
102 #endif 88 #endif
103 #endif /* RS6000_DOUBLE_CHECK */ 89 #endif /* RS6000_DOUBLE_CHECK */
104 90
105 91
106 #if defined( SCO_MATH_CHECK )
107 #define __fp_class(a) \
108 __builtin_generic(a,"ld:__fplcassifyl;f:__fpclassifyf;:__fpclassify")
109
110 #endif /* SCO_MATH_CHECK */
111
112
113 #if defined( STRICT_ANSI_NOT_CTD_CHECK ) 92 #if defined( STRICT_ANSI_NOT_CTD_CHECK )
114 #if 1 && \ 93 #if 1 && \
115 && defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \ 94 && defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
116 ( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \ 95 ( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
117 || !defined(__STRICT_ANSI__) ) /* not std C */ 96 || !defined(__STRICT_ANSI__) ) /* not std C */
118 int foo; 97 int foo;
119 #endif 98 #endif
120 #endif /* STRICT_ANSI_NOT_CTD_CHECK */ 99 #endif /* STRICT_ANSI_NOT_CTD_CHECK */
121
122 #endif /* FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE */
123 #ifdef __cplusplus 100 #ifdef __cplusplus
124 #undef exception 101 #undef exception
125 #endif 102 #endif
126 103
127 #endif /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */ 104 #endif /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */
OLDNEW
« no previous file with comments | « gcc/fixincludes/tests/base/inttypes.h ('k') | gcc/fixincludes/tests/base/pthread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698