Add incomplet long double math support to libmingwex.a
This commit is contained in:
12
winsup/mingw/mingwex/math/fp_constsl.c
Normal file
12
winsup/mingw/mingwex/math/fp_constsl.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "fp_consts.h"
|
||||
|
||||
const union _ieee_rep __QNANL = { __LONG_DOUBLE_QNAN_REP };
|
||||
const union _ieee_rep __SNANL = { __LONG_DOUBLE_SNAN_REP };
|
||||
const union _ieee_rep __INFL = { __LONG_DOUBLE_INF_REP };
|
||||
const union _ieee_rep __DENORML = { __LONG_DOUBLE_DENORM_REP };
|
||||
|
||||
|
||||
#undef nanl
|
||||
/* FIXME */
|
||||
long double nanl (const char * tagp __attribute__((unused)) )
|
||||
{ return __QNANL.ldouble_val; }
|
Reference in New Issue
Block a user