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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [fixincludes/] [tests/] [base/] [math.h] - Blame information for rev 831

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/*  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
 
38
#endif  /* BROKEN_CABS_CHECK */
39
 
40
 
41
#if defined( EXCEPTION_STRUCTURE_CHECK )
42
extern int matherr();
43
#endif  /* EXCEPTION_STRUCTURE_CHECK */
44
 
45
 
46
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
47
 
48
#endif  /* HPUX11_CPP_POW_INLINE_CHECK */
49
 
50
 
51
#if defined( HPUX11_FABSF_CHECK )
52
#ifdef _PA_RISC
53
#ifndef __cplusplus
54
#  define fabsf(x) ((float)fabs((double)(float)(x)))
55
#endif
56
#endif
57
#endif  /* HPUX11_FABSF_CHECK */
58
 
59
 
60
#if defined( HPUX8_BOGUS_INLINES_CHECK )
61
extern "C" int abs(int);
62
 
63
#endif  /* HPUX8_BOGUS_INLINES_CHECK */
64
 
65
 
66
#if defined( ISC_FMOD_CHECK )
67
extern double   fmod(double, double);
68
#endif  /* ISC_FMOD_CHECK */
69
 
70
 
71
#if defined( MATH_EXCEPTION_CHECK )
72
typedef struct exception t_math_exception;
73
#endif  /* MATH_EXCEPTION_CHECK */
74
 
75
 
76
#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
77
 
78
#define HUGE_VAL 3.1415e+9 /* really big */
79
#endif  /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
80
 
81
 
82
#if defined( RS6000_DOUBLE_CHECK )
83
#ifndef __cplusplus
84
extern int class();
85
#endif
86
#endif  /* RS6000_DOUBLE_CHECK */
87
 
88
 
89
#if defined( SCO_MATH_CHECK )
90
#define __fp_class(a) \
91
 __builtin_generic(a,"ld:__fplcassifyl;f:__fpclassifyf;:__fpclassify")
92
 
93
#endif  /* SCO_MATH_CHECK */
94
 
95
 
96
#if defined( STRICT_ANSI_NOT_CTD_CHECK )
97
#if 1 && \
98
&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
99
(  !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
100
||  !defined(__STRICT_ANSI__) ) /* not std C */
101
int foo;
102
#endif
103
#endif  /* STRICT_ANSI_NOT_CTD_CHECK */
104
 
105
 
106
#if defined( ULTRIX_ATOF_PARAM_CHECK )
107
extern double atof(const char *__nptr);
108
 
109
#endif  /* ULTRIX_ATOF_PARAM_CHECK */
110
 
111
 
112
#if defined( WINDISS_MATH1_CHECK )
113
#ifndef __GNUC__
114
#endif  /* WINDISS_MATH1_CHECK */
115
 
116
 
117
#if defined( WINDISS_MATH2_CHECK )
118
#endif /* __GNUC__ */
119
#endif  /* WINDISS_MATH2_CHECK */
120
 
121
#endif  /* FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE */
122
#ifdef __cplusplus
123
#undef exception
124
#endif
125
 
126
#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.