mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-23 17:51:37 +02:00
Correct exceoption mask elements
git-svn-id: trunk@22325 -
This commit is contained in:
parent
cecc6b778c
commit
fe97069b12
@ -79,11 +79,11 @@ function GetExceptionMask: TFPUExceptionMask;
|
||||
|
||||
{ zero divide: bit 24 }
|
||||
if (fsr and (1 shl 24))=0 then
|
||||
include(result,exInvalidOp);
|
||||
include(result,exZeroDivide);
|
||||
|
||||
{ overflow: bit 26 }
|
||||
if (fsr and (1 shl 26))=0 then
|
||||
include(result,exInvalidOp);
|
||||
include(result,exOverflow);
|
||||
|
||||
{ underflow: bit 25 }
|
||||
if (fsr and (1 shl 25))=0 then
|
||||
|
Loading…
Reference in New Issue
Block a user