소스 검색

* GetExceptionMask returned inverted result for exInvalidOp

git-svn-id: trunk@3148 -
Jonas Maebe 19 년 전
부모
커밋
35fe1b27cd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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];