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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [fixincludes/] [tests/] [base/] [math.h] - Blame information for rev 735

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

Line No. Rev Author Line
1 724 jeremybenn
/*  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
 
17
 
18
#if defined( AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK )
19
#include <architecture/ppc/math.h>
20
#endif  /* AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK */
21
 
22
 
23
#if defined( BROKEN_CABS_CHECK )
24
#ifdef __STDC__
25
 
26
#else
27
 
28
#endif
29
 
30
 /* This is a comment
31
                         and it ends here. */
32
 
33
 
34
#endif  /* BROKEN_CABS_CHECK */
35
 
36
 
37
#if defined( HPPA_HPUX_FP_MACROS_CHECK )
38
#endif /* _INCLUDE_HPUX_SOURCE */
39
 
40
#if defined(_INCLUDE_HPUX_SOURCE) || \
41
   (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
42
#  define FP_NORMAL     0
43
#  define FP_ZERO       1
44
#  define FP_INFINITE   2
45
#  define FP_SUBNORMAL  3
46
#  define FP_NAN        4
47
#endif
48
 
49
#ifdef _INCLUDE_HPUX_SOURCE
50
 
51
#endif  /* HPPA_HPUX_FP_MACROS_CHECK */
52
 
53
 
54
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
55
 
56
#endif  /* HPUX11_CPP_POW_INLINE_CHECK */
57
 
58
 
59
#if defined( HPUX11_FABSF_CHECK )
60
#ifdef _PA_RISC
61
#ifndef __cplusplus
62
#  define fabsf(x) ((float)fabs((double)(float)(x)))
63
#endif
64
#endif
65
#endif  /* HPUX11_FABSF_CHECK */
66
 
67
 
68
#if defined( HPUX8_BOGUS_INLINES_CHECK )
69
extern "C" int abs(int);
70
 
71
#endif  /* HPUX8_BOGUS_INLINES_CHECK */
72
 
73
 
74
#if defined( MATH_EXCEPTION_CHECK )
75
typedef struct exception t_math_exception;
76
#endif  /* MATH_EXCEPTION_CHECK */
77
 
78
 
79
#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
80
 
81
#define HUGE_VAL 3.1415e+9 /* really big */
82
#endif  /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
83
 
84
 
85
#if defined( RS6000_DOUBLE_CHECK )
86
#ifndef __cplusplus
87
extern int class();
88
#endif
89
#endif  /* RS6000_DOUBLE_CHECK */
90
 
91
 
92
#if defined( STRICT_ANSI_NOT_CTD_CHECK )
93
#if 1 && \
94
&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
95
(  !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
96
||  !defined(__STRICT_ANSI__) ) /* not std C */
97
int foo;
98
#endif
99
#endif  /* STRICT_ANSI_NOT_CTD_CHECK */
100
#ifdef __cplusplus
101
#undef exception
102
#endif
103
 
104
#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.