[Numeric-interest] longjmp from signal handler
Fred J. Tydeman
tydeman at tybor.com
Tue Apr 29 13:13:14 PDT 2008
The C standard is now open for revision.
One item being considered is requiring signal handlers to be able to
do a longjmp(), for at least SIGFPE, and perhaps all signals.
Currently that results in undefined behaviour [C99 7.14.1.1 The signal
function, paragraph 5].
Does anyone know of an implementation that will break because of this
proposed requirement?
Does anyone know of any numeric applications need this feature?
Does anyone know of papers that discuss using signal / trap / exception
handlers for floating-point exceptions?
---
Fred J. Tydeman Tydeman Consulting
tydeman at tybor.com Testing, numerics, programming
+1 (775) 358-9748 Vice-chair of J11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
More information about the Numeric-interest
mailing list