mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:29:14 +02:00
* new constants for si_code field for FPU signals (required by commit 1710)
git-svn-id: trunk@1712 -
This commit is contained in:
parent
745cafdc70
commit
d54dbdf9b6
@ -118,11 +118,20 @@ Const
|
|||||||
SIGUNUSED = 31;
|
SIGUNUSED = 31;
|
||||||
{$endif cpusparc}
|
{$endif cpusparc}
|
||||||
|
|
||||||
|
{ si_code field values for tsiginfo.si_code when si_signo = SIGFPE }
|
||||||
|
const
|
||||||
|
FPE_INTDIV = 1; { integer divide by zero }
|
||||||
|
FPE_INTOVF = 2; { integer overflow }
|
||||||
|
FPE_FLTDIV = 3; { floating point divide by zero }
|
||||||
|
FPE_FLTOVF = 4; { floating point overflow }
|
||||||
|
FPE_FLTUND = 5; { floating point underflow }
|
||||||
|
FPE_FLTRES = 6; { floating point inexact result }
|
||||||
|
FPE_FLTINV = 7; { floating point invalid operation }
|
||||||
|
FPE_FLTSUB = 8; { floating point subscript out of range }
|
||||||
|
|
||||||
const
|
const
|
||||||
SI_PAD_SIZE = ((128 div sizeof(longint)) - 3);
|
SI_PAD_SIZE = ((128 div sizeof(longint)) - 3);
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
SigSet = array[0..wordsinsigset-1] of cuLong;
|
SigSet = array[0..wordsinsigset-1] of cuLong;
|
||||||
sigset_t= SigSet;
|
sigset_t= SigSet;
|
||||||
|
Loading…
Reference in New Issue
Block a user