Use shorter preprocessor definitions to avoid crashes in MSVC

metadata
Edgar Velazquez-Armendariz 2013-08-12 16:58:16 -04:00
parent b643573eea
commit 20f47de382
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@
#if defined(__WINDOWS__)
#define ONE_MINUS_EPS_FLT 0.999999940395355225f
#define ONE_MINUS_EPS_DBL 0.999999999999999888
#define RCPOVERFLOW_FLT 0.00000000000000000000000000000000000000293873587705571876
#define RCPOVERFLOW_DBL 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000556268464626800345
#define RCPOVERFLOW_FLT 2.93873587705571876e-39
#define RCPOVERFLOW_DBL 5.56268464626800345e-309
#else
#define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
#define ONE_MINUS_EPS_DBL 0x1.fffffffffffff7p-1