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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [fixincludes/] [tests/] [base/] [iso/] [math_c99.h] - Blame information for rev 724

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/iso/math_c99.h"
6
 
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
 
10
 
11
 
12
#if defined( SOLARIS_MATH_1_CHECK )
13
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
14
#undef  HUGE_VAL
15
#define HUGE_VAL        (__builtin_huge_val())
16
#undef  HUGE_VALF
17
#define HUGE_VALF       (__builtin_huge_valf())
18
#undef  HUGE_VALL
19
#define HUGE_VALL       (__builtin_huge_vall())
20
#endif  /* SOLARIS_MATH_1_CHECK */
21
 
22
 
23
#if defined( SOLARIS_MATH_2_CHECK )
24
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
25
#undef  INFINITY
26
#define INFINITY        (__builtin_inff())
27
#endif  /* SOLARIS_MATH_2_CHECK */
28
 
29
 
30
#if defined( SOLARIS_MATH_3_CHECK )
31
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
32
#undef  NAN
33
#define NAN             (__builtin_nanf(""))
34
#endif  /* SOLARIS_MATH_3_CHECK */
35
 
36
 
37
#if defined( SOLARIS_MATH_4_CHECK )
38
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
39
#undef  fpclassify
40
#define fpclassify(x) \
41
  __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))
42
#endif  /* SOLARIS_MATH_4_CHECK */
43
 
44
 
45
#if defined( SOLARIS_MATH_8_CHECK )
46
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
47
#undef  signbit
48
#define signbit(x)      (sizeof(x) == sizeof(float) \
49
                           ? __builtin_signbitf(x) \
50
                           : sizeof(x) == sizeof(long double) \
51
                             ? __builtin_signbitl(x) \
52
                             : __builtin_signbit(x))
53
#endif  /* SOLARIS_MATH_8_CHECK */
54
 
55
 
56
#if defined( SOLARIS_MATH_9_CHECK )
57
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
58
#undef  isgreater
59
#define isgreater(x, y)         __builtin_isgreater(x, y)
60
#undef  isgreaterequal
61
#define isgreaterequal(x, y)    __builtin_isgreaterequal(x, y)
62
#undef  isless
63
#define isless(x, y)            __builtin_isless(x, y)
64
#undef  islessequal
65
#define islessequal(x, y)       __builtin_islessequal(x, y)
66
#undef  islessgreater
67
#define islessgreater(x, y)     __builtin_islessgreater(x, y)
68
#undef  isunordered
69
#define isunordered(x, y)       __builtin_isunordered(x, y)
70
#endif  /* SOLARIS_MATH_9_CHECK */
71
 
72
 
73
#if defined( SOLARIS_MATH_10_CHECK )
74
#pragma ident   "@(#)math_c99.h 1.12    07/01/21 SMI"
75
#undef  isinf
76
#define isinf(x) __builtin_isinf(x)
77
#endif  /* SOLARIS_MATH_10_CHECK */

powered by: WebSVN 2.1.0

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