Parcourir la source

Merged revisions 3148 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r3148 | jonas | 2006-04-05 09:46:18 +0200 (Wed, 05 Apr 2006) | 2 lines

* GetExceptionMask returned inverted result for exInvalidOp

........

git-svn-id: branches/fixes_2_0@3154 -

Jonas Maebe il y a 19 ans
Parent
commit
f9d38b10e7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      rtl/powerpc/mathu.inc

+ 1 - 1
rtl/powerpc/mathu.inc

@@ -81,7 +81,7 @@ end;
 function GetExceptionMask: TFPUExceptionMask;
 begin
   result := [];
-  if ((getFPSCR and InvalidOperationMask) <> 0) then 
+  if ((getFPSCR and InvalidOperationMask) = 0) then 
     result := result + [exInvalidOp];
   if ((getFPSCR and OverflowMask) = 0) then 
     result := result + [exOverflow];