[Cfp-interest] draft of syntax discussion for C committee
David Hough CFP
pcfp at oakapple.net
Tue Jun 10 14:35:06 PDT 2014
> some HW might not provide any way for a program to detect underflow exceptions
If you don't have traps, catch inexact underflows by testing the underflow
flag, during or at the end of the try clause.
However you have to check for exact underflows
by checking each result within the try clause to see if it's subnormal.
That can't be efficient.
Perhaps an optimization pragma will be needed that allows checking only
for inexact underflows.
More information about the Cfp-interest
mailing list