[PATCH v2 16/20] Add FPE_FLTIDO
Sergey Bugaev
bugaevc@gmail.com
Sat Mar 23 17:32:57 GMT 2024
This is a new si_code value for the SIGFPE signal that has been added
to FreeBSD, and is also going to be used on the Hurd.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
This makes sense, right?
We should probably define more codes still (see exception2signal in the
next patch).
bits/siginfo-consts.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bits/siginfo-consts.h b/bits/siginfo-consts.h
index 4eef775e..362a06a6 100644
--- a/bits/siginfo-consts.h
+++ b/bits/siginfo-consts.h
@@ -75,8 +75,10 @@ enum
# define FPE_FLTRES FPE_FLTRES
FPE_FLTINV, /* Floating point invalid operation. */
# define FPE_FLTINV FPE_FLTINV
- FPE_FLTSUB /* Subscript out of range. */
+ FPE_FLTSUB, /* Subscript out of range. */
# define FPE_FLTSUB FPE_FLTSUB
+ FPE_FLTIDO /* Input denormal operation. */
+# define FPE_FLTIDO FPE_FLTIDO
};
/* `si_code' values for SIGSEGV signal. */
--
2.44.0
More information about the Libc-alpha
mailing list