regex memory corruption regression test
[libc-test] / src / math / gen / gensanity.sh
index 949c4b6..50ad2f9 100755 (executable)
@@ -5,6 +5,8 @@ D=../sanity
 sed 's/^T(//;s/,//;s/)//' functions.h | while read N T
 do
        case $T in
+       '') continue ;;
+
        d_*|f_*|l_*) ./gen $N >$D/$N.h <<EOF
 -8.06684839057968126823036836721962107
 +4.34523984933830528860918339265097582
@@ -42,6 +44,14 @@ EOF
 -0.79205451198489594412029014134600873 +7.67640268511754002832536318951411755
 +0.61570267319792408792325107549103713 +2.01190257903248027376896111888376742
 -0.55875868236091523814033056701077708 +0.03223983060263803856752696457418850
+EOF
+       ;;
+       ddd_*|fff_*|lll_*) ./gen $N >$D/$N.h <<EOF
+-8.06684839057968126823036836721962107 +4.53566256067686864057537788388811764 +0.66207179233767389593411946503559251
++4.34523984933830528860918339265097582 -8.88799136300345123622768770110757083 +0.05215452675006224789817853073306709
+-8.38143342755524846875570469976848365 -2.76360733737958805493258686740202557 +7.67640268511754002832536318951411755
+-6.53167358191348375502677177380274565 +4.56753527684274348416184388263831508 -0.79205451198489594412029014134600873
++9.26705696697258528046907106996633473 +4.81139208435979589730560859417420750 -0.55875868236091523814033056701077708
 EOF
        ;;
        *) echo "bad type: $T"