mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 08:28:09 +02:00
* GetExceptionMask returned inverted result for exInvalidOp
git-svn-id: trunk@3148 -
This commit is contained in:
parent
82b6546997
commit
35fe1b27cd
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user