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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [fixincludes/] [tests/] [base/] [iso/] [math_c99.h] - Diff between revs 266 and 384

Only display areas with differences | Details | Blame | View Log

Rev 266 Rev 384
/*  DO NOT EDIT THIS FILE.
/*  DO NOT EDIT THIS FILE.
 
 
    It has been auto-edited by fixincludes from:
    It has been auto-edited by fixincludes from:
 
 
        "fixinc/tests/inc/iso/math_c99.h"
        "fixinc/tests/inc/iso/math_c99.h"
 
 
    This had to be done to correct non-standard usages in the
    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */
    original, manufacturer supplied header file.  */
 
 
 
 
 
 
#if defined( SOLARIS_MATH_1_CHECK )
#if defined( SOLARIS_MATH_1_CHECK )
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#undef  HUGE_VAL
#undef  HUGE_VAL
#define HUGE_VAL        (__builtin_huge_val())
#define HUGE_VAL        (__builtin_huge_val())
#undef  HUGE_VALF
#undef  HUGE_VALF
#define HUGE_VALF       (__builtin_huge_valf())
#define HUGE_VALF       (__builtin_huge_valf())
#undef  HUGE_VALL
#undef  HUGE_VALL
#define HUGE_VALL       (__builtin_huge_vall())
#define HUGE_VALL       (__builtin_huge_vall())
#endif  /* SOLARIS_MATH_1_CHECK */
#endif  /* SOLARIS_MATH_1_CHECK */
 
 
 
 
#if defined( SOLARIS_MATH_2_CHECK )
#if defined( SOLARIS_MATH_2_CHECK )
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#undef  INFINITY
#undef  INFINITY
#define INFINITY        (__builtin_inff())
#define INFINITY        (__builtin_inff())
#endif  /* SOLARIS_MATH_2_CHECK */
#endif  /* SOLARIS_MATH_2_CHECK */
 
 
 
 
#if defined( SOLARIS_MATH_3_CHECK )
#if defined( SOLARIS_MATH_3_CHECK )
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#undef  NAN
#undef  NAN
#define NAN             (__builtin_nanf(""))
#define NAN             (__builtin_nanf(""))
#endif  /* SOLARIS_MATH_3_CHECK */
#endif  /* SOLARIS_MATH_3_CHECK */
 
 
 
 
#if defined( SOLARIS_MATH_4_CHECK )
#if defined( SOLARIS_MATH_4_CHECK )
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#undef  fpclassify
#undef  fpclassify
#define fpclassify(x) \
#define fpclassify(x) \
  __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))
  __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))
#endif  /* SOLARIS_MATH_4_CHECK */
#endif  /* SOLARIS_MATH_4_CHECK */
 
 
 
 
#if defined( SOLARIS_MATH_8_CHECK )
#if defined( SOLARIS_MATH_8_CHECK )
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#undef  signbit
#undef  signbit
#define signbit(x)      (sizeof(x) == sizeof(float) \
#define signbit(x)      (sizeof(x) == sizeof(float) \
                           ? __builtin_signbitf(x) \
                           ? __builtin_signbitf(x) \
                           : sizeof(x) == sizeof(long double) \
                           : sizeof(x) == sizeof(long double) \
                             ? __builtin_signbitl(x) \
                             ? __builtin_signbitl(x) \
                             : __builtin_signbit(x))
                             : __builtin_signbit(x))
#endif  /* SOLARIS_MATH_8_CHECK */
#endif  /* SOLARIS_MATH_8_CHECK */
 
 
 
 
#if defined( SOLARIS_MATH_9_CHECK )
#if defined( SOLARIS_MATH_9_CHECK )
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#ident  "@(#)math_c99.h 1.9     04/11/01 SMI"
#undef  isgreater
#undef  isgreater
#define isgreater(x, y)         __builtin_isgreater(x, y)
#define isgreater(x, y)         __builtin_isgreater(x, y)
#undef  isgreaterequal
#undef  isgreaterequal
#define isgreaterequal(x, y)    __builtin_isgreaterequal(x, y)
#define isgreaterequal(x, y)    __builtin_isgreaterequal(x, y)
#undef  isless
#undef  isless
#define isless(x, y)            __builtin_isless(x, y)
#define isless(x, y)            __builtin_isless(x, y)
#undef  islessequal
#undef  islessequal
#define islessequal(x, y)       __builtin_islessequal(x, y)
#define islessequal(x, y)       __builtin_islessequal(x, y)
#undef  islessgreater
#undef  islessgreater
#define islessgreater(x, y)     __builtin_islessgreater(x, y)
#define islessgreater(x, y)     __builtin_islessgreater(x, y)
#undef  isunordered
#undef  isunordered
#define isunordered(x, y)       __builtin_isunordered(x, y)
#define isunordered(x, y)       __builtin_isunordered(x, y)
#endif  /* SOLARIS_MATH_9_CHECK */
#endif  /* SOLARIS_MATH_9_CHECK */
 
 
 
 
#if defined( SOLARIS_MATH_10_CHECK )
#if defined( SOLARIS_MATH_10_CHECK )
#pragma ident   "@(#)math_c99.h 1.12    07/01/21 SMI"
#pragma ident   "@(#)math_c99.h 1.12    07/01/21 SMI"
#undef  isinf
#undef  isinf
#define isinf(x) __builtin_isinf(x)
#define isinf(x) __builtin_isinf(x)
#endif  /* SOLARIS_MATH_10_CHECK */
#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.