Browse Source

Merged revisions 8045 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk

........
r8045 | yury | 2007-07-14 11:55:54 +0300 (Сб, 14 июл 2007) | 1 line

* 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: branches/fixes_2_2@8046 -

yury 18 years ago
parent
commit
816f8b5e3d
1 changed files with 0 additions and 5 deletions
  1. 0 5
      rtl/objpas/math.pp

+ 0 - 5
rtl/objpas/math.pp

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