3 # Test of turning floating-point exceptions into traps (signals).
7 for operation
in 1 2 3 4 5 6 7 8 9; do
8 for procedure
in p q r s
; do
10 ${CHECKER} .
/test-fenv-except-trapping-2
${EXEEXT} $operation $procedure $type
12 if test $rc = 77; then
13 if test $final_rc = 0; then
17 if test $procedure = s
; then
18 if test $rc != 0; then
19 echo "Failed (got a trap): ./test-fenv-except-trapping-2 $operation $procedure $type" 1>&2
24 echo "Failed (got no trap): ./test-fenv-except-trapping-2 $operation $procedure $type" 1>&2