44 lines
768 B
C
44 lines
768 B
C
|
|
#pragma once
|
|
|
|
#if !defined(BAD_APPLE_OS_MATH_H_INCLUDED)
|
|
#define BAD_APPLE_OS_MATH_H_INCLUDED
|
|
|
|
#if !defined(HUGE_VALF)
|
|
#define HUGE_VALF (__builtin_inff())
|
|
#endif
|
|
|
|
#if !defined(FLT_QNAN)
|
|
#define FLT_QNAN (__builtin_nanf(""))
|
|
#endif
|
|
|
|
#if !defined(FLT_SNAN)
|
|
#define FLT_SNAN (__builtin_nansf(""))
|
|
#endif
|
|
|
|
#if !defined(HUGE_VAL)
|
|
#define HUGE_VAL (__builtin_inf())
|
|
#endif
|
|
|
|
#if !defined(DBL_QNAN)
|
|
#define DBL_QNAN (__builtin_nan(""))
|
|
#endif
|
|
|
|
#if !defined(DBL_SNAN)
|
|
#define DBL_SNAN (__builtin_nans(""))
|
|
#endif
|
|
|
|
#if !defined(HUGE_VALL)
|
|
#define HUGE_VALL (__builtin_infl())
|
|
#endif
|
|
|
|
#if !defined(LDBL_QNAN)
|
|
#define LDBL_QNAN (__builtin_nanl(""))
|
|
#endif
|
|
|
|
#if !defined(LDBL_SNAN)
|
|
#define LDBL_SNAN (__builtin_nansl(""))
|
|
#endif
|
|
|
|
#endif // !defined(BAD_APPLE_OS_MATH_H_INCLUDED)
|