* Made NaN = 0.0/0.0 for arm-linux. It is calculated as Nan on Florian's arm-linux box. ln(-1.0) is calculated as -Inf on arm-linux and x86. It fixes bug #9132.

git-svn-id: trunk@8045 -
This commit is contained in:
yury 2007-07-14 08:55:54 +00:00
parent d4f033bb78
commit 1807613f88

View File

@ -116,12 +116,7 @@ interface
{$define OverflowCheckWasOn}
{$Q-}
{$endif opt Q+}
{$if defined(CPUARM) and defined(unix)}
{ the ARM linux emulator doesn't like 0.0/0.0 }
NaN = ln(-1.0);
{$else CPUARM}
NaN = 0.0/0.0;
{$endif CPUARM}
Infinity = 1.0/0.0;
{$ifdef RangeCheckWasOn}
{$R+}