* GetExceptionMask returned inverted result for exInvalidOp

git-svn-id: trunk@3148 -
This commit is contained in:
Jonas Maebe 2006-04-05 07:46:18 +00:00
parent 82b6546997
commit 35fe1b27cd

View File

@ -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];