125 |
fi |
fi |
126 |
return 99 |
return 99 |
127 |
fi |
fi |
128 |
non_real_numb=`egrep -c -i 'NAN|INF' tmp1.txt` |
has_nan=`cat tmp1.txt | grep -i nan | wc -l` |
129 |
if [ $non_real_numb -gt 0 ]; then |
if [ $has_nan -gt 0 ] ; then |
130 |
echo testoutput_for_prop: output.txt has $non_real_numb not real numbers 1>&2 |
echo testoutput_for_prop: output.txt contains $has_nan NaN values 1>&2 |
131 |
|
return 99 |
132 |
|
fi |
133 |
|
has_inf=`cat tmp1.txt | grep -i inf | wc -l` |
134 |
|
if [ $has_inf -gt 0 ] ; then |
135 |
|
echo testoutput_for_prop: output.txt contains $has_inf Inf values 1>&2 |
136 |
return 99 |
return 99 |
137 |
fi |
fi |
138 |
if [ $debug -gt 0 ]; then |
if [ $debug -gt 0 ]; then |