OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [fixincludes/] [tests/] [base/] [math.h] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/*  DO NOT EDIT THIS FILE.
2
 
3
    It has been auto-edited by fixincludes from:
4
 
5
        "fixinc/tests/inc/math.h"
6
 
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
 
10
#ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION
11
#define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1
12
 
13
#ifdef __cplusplus
14
#define exception __math_exception
15
#endif
16
#ifndef FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE
17
#define FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE 1
18
 
19
struct exception;
20
 
21
 
22
#if defined( AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK )
23
#include <architecture/ppc/math.h>
24
#endif  /* AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK */
25
 
26
 
27
#if defined( BROKEN_CABS_CHECK )
28
#ifdef __STDC__
29
 
30
#else
31
 
32
#endif
33
 
34
 /* This is a comment
35
                         and it ends here. */
36
 
37
#endif  /* BROKEN_CABS_CHECK */
38
 
39
 
40
#if defined( EXCEPTION_STRUCTURE_CHECK )
41
extern int matherr();
42
#endif  /* EXCEPTION_STRUCTURE_CHECK */
43
 
44
 
45
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
46
 
47
#endif  /* HPUX11_CPP_POW_INLINE_CHECK */
48
 
49
 
50
#if defined( HPUX11_FABSF_CHECK )
51
#ifdef _PA_RISC
52
#ifndef __cplusplus
53
#  define fabsf(x) ((float)fabs((double)(float)(x)))
54
#endif
55
#endif
56
#endif  /* HPUX11_FABSF_CHECK */
57
 
58
 
59
#if defined( HPUX8_BOGUS_INLINES_CHECK )
60
extern "C" int abs(int);
61
 
62
#endif  /* HPUX8_BOGUS_INLINES_CHECK */
63
 
64
 
65
#if defined( ISC_FMOD_CHECK )
66
extern double   fmod(double, double);
67
#endif  /* ISC_FMOD_CHECK */
68
 
69
 
70
#if defined( MATH_EXCEPTION_CHECK )
71
typedef struct exception t_math_exception;
72
#endif  /* MATH_EXCEPTION_CHECK */
73
 
74
 
75
#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
76
 
77
#define HUGE_VAL 3.1415e+9 /* really big */
78
#endif  /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
79
 
80
 
81
#if defined( RS6000_DOUBLE_CHECK )
82
#ifndef __cplusplus
83
extern int class();
84
#endif
85
#endif  /* RS6000_DOUBLE_CHECK */
86
 
87
 
88
#if defined( SCO_MATH_CHECK )
89
#define __fp_class(a) \
90
 __builtin_generic(a,"ld:__fplcassifyl;f:__fpclassifyf;:__fpclassify")
91
 
92
#endif  /* SCO_MATH_CHECK */
93
 
94
 
95
#if defined( STRICT_ANSI_NOT_CTD_CHECK )
96
#if 1 && \
97
&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
98
(  !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
99
||  !defined(__STRICT_ANSI__) ) /* not std C */
100
int foo;
101
#endif
102
#endif  /* STRICT_ANSI_NOT_CTD_CHECK */
103
 
104
 
105
#if defined( ULTRIX_ATOF_PARAM_CHECK )
106
extern double atof(const char *__nptr);
107
 
108
#endif  /* ULTRIX_ATOF_PARAM_CHECK */
109
 
110
 
111
#if defined( WINDISS_MATH1_CHECK )
112
#ifndef __GNUC__
113
#endif  /* WINDISS_MATH1_CHECK */
114
 
115
 
116
#if defined( WINDISS_MATH2_CHECK )
117
#endif /* __GNUC__ */
118
#endif  /* WINDISS_MATH2_CHECK */
119
 
120
#endif  /* FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE */
121
#ifdef __cplusplus
122
#undef exception
123
#endif
124
 
125
#endif  /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.