1 # tests if mawk has been compiled to correctly handle
2 # floating point exceptions
4 echo testing division by zero
6 echo ========================== status = $status ==========================
10 echo ========================== status = $status ==========================
12 echo testing domain error
14 mawk -f fpetest3.awk >temp
15 echo ========================== status = $status ==========================
19 echo the returns should be 1 0 1
20 echo note on the atari it cannot be 1 1 1