Bug 160602 - Patch sets FPU precision to 53 bit mantissa. r=khanson, sr=brendan

This commit is contained in:
dbradley%netscape.com 2002-08-20 12:56:30 +00:00
Родитель 2c3672f406
Коммит a73b830e87
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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