* Properly set FPU control word for wince. It fixes testv8.pp

git-svn-id: trunk@5944 -
This commit is contained in:
yury 2007-01-13 15:10:44 +00:00
parent 34b731b44c
commit dfab1fbb7b

View File

@ -1781,8 +1781,9 @@ end;
initialization
StackLength := CheckInitialStkLen(InitialStkLen);
StackBottom := StackTop - StackLength;
{ Enable FPU exceptions }
_controlfp(1, $0008001F);
{ Enable FPU exceptions, but disable INEXACT, UNDERFLOW, DENORMAL }
{ FPU precision 64 bit, rounding to nearest, affine infinity }
_controlfp($000C0003, $030F031F);
{ some misc stuff }
hprevinst:=0;
if not IsLibrary then