Explorar o código

* GetExceptionMask returned inverted result for exInvalidOp

git-svn-id: trunk@3148 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
35fe1b27cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];