зеркало из https://github.com/mozilla/pjs.git
Bug 160602 - Patch sets FPU precision to 53 bit mantissa. r=khanson, sr=brendan
This commit is contained in:
Родитель
2c3672f406
Коммит
a73b830e87
|
@ -441,9 +441,11 @@ static jsdouble NaN;
|
|||
#if !defined __MWERKS__ && defined XP_PC && (defined _M_IX86 || defined __GNUC__)
|
||||
|
||||
/*
|
||||
* Set the exception mask to mask all exceptions and set the FPU precision
|
||||
* to 53 bit mantissa.
|
||||
* On Alpha platform this is handled via Compiler option.
|
||||
*/
|
||||
#define FIX_FPU() _control87(MCW_EM, MCW_EM)
|
||||
#define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
|
||||
|
||||
#else
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче