mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2008-03-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (float_t, double_t): Define.
This commit is contained in:
parent
cc4d68ec01
commit
138c2d5c15
@ -1,3 +1,7 @@
|
||||
2008-03-21 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/math.h (float_t, double_t): Define.
|
||||
|
||||
2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
|
||||
|
@ -304,6 +304,24 @@ extern const double __QNAN;
|
||||
#define NAN __QNAN
|
||||
#endif /* __MINGW_GNUC_PREREQ(3, 3) */
|
||||
|
||||
/* Use the compiler's builtin define for FLT_EVAL_METHOD to
|
||||
set float_t and double_t. */
|
||||
#if defined(__FLT_EVAL_METHOD__)
|
||||
# if ( __FLT_EVAL_METHOD__== 0)
|
||||
typedef float float_t;
|
||||
typedef double double_t;
|
||||
# elif (__FLT_EVAL_METHOD__ == 1)
|
||||
typedef double float_t;
|
||||
typedef double double_t;
|
||||
# elif (__FLT_EVAL_METHOD__ == 2)
|
||||
typedef long double float_t;
|
||||
typedef long double double_t;
|
||||
#endif
|
||||
#else /* ix87 FPU default */
|
||||
typedef long double float_t;
|
||||
typedef long double double_t;
|
||||
#endif
|
||||
|
||||
/* 7.12.3.1 */
|
||||
/*
|
||||
Return values for fpclassify.
|
||||
|
Loading…
x
Reference in New Issue
Block a user