• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3D=../sanity
4
5sed 's/^T(//;s/,//;s/)//' functions.h | while read N T
6do
7	case $T in
8	'') continue ;;
9
10	d_*|f_*|l_*) ./gen $N >$D/$N.h <<EOF
11-8.06684839057968126823036836721962107
12+4.34523984933830528860918339265097582
13-8.38143342755524846875570469976848365
14-6.53167358191348375502677177380274565
15+9.26705696697258528046907106996633473
16+0.66198589809950443806520229507072615
17-0.40660392238535529519351490505650392
18+0.56175974622072409170769641066459813
19+0.77415229659130372834006997382367211
20-0.67876370263940246316802166606111153
21EOF
22	;;
23	di_*|fi_*|li_*) ./gen $N >$D/$N.h <<EOF
24-8.06684839057968126823036836721962107 -2
25+4.34523984933830528860918339265097582 -1
26-8.38143342755524846875570469976848365 0
27-6.53167358191348375502677177380274565 1
28+9.26705696697258528046907106996633473 2
29+0.66198589809950443806520229507072615 3
30-0.40660392238535529519351490505650392 4
31+0.56175974622072409170769641066459813 5
32+0.77415229659130372834006997382367211 6
33-0.67876370263940246316802166606111153 7
34EOF
35	;;
36	dd_*|ff_*|[dfl]l_*) ./gen $N >$D/$N.h <<EOF
37-8.06684839057968126823036836721962107 +4.53566256067686864057537788388811764
38+4.34523984933830528860918339265097582 -8.88799136300345123622768770110757083
39-8.38143342755524846875570469976848365 -2.76360733737958805493258686740202557
40-6.53167358191348375502677177380274565 +4.56753527684274348416184388263831508
41+9.26705696697258528046907106996633473 +4.81139208435979589730560859417420750
42-6.45004555606023597579444426311945845 +0.66207179233767389593411946503559251
43+7.85889025304169636815211127446301636 +0.05215452675006224789817853073306709
44-0.79205451198489594412029014134600873 +7.67640268511754002832536318951411755
45+0.61570267319792408792325107549103713 +2.01190257903248027376896111888376742
46-0.55875868236091523814033056701077708 +0.03223983060263803856752696457418850
47EOF
48	;;
49	ddd_*|fff_*|lll_*) ./gen $N >$D/$N.h <<EOF
50-8.06684839057968126823036836721962107 +4.53566256067686864057537788388811764 +0.66207179233767389593411946503559251
51+4.34523984933830528860918339265097582 -8.88799136300345123622768770110757083 +0.05215452675006224789817853073306709
52-8.38143342755524846875570469976848365 -2.76360733737958805493258686740202557 +7.67640268511754002832536318951411755
53-6.53167358191348375502677177380274565 +4.56753527684274348416184388263831508 -0.79205451198489594412029014134600873
54+9.26705696697258528046907106996633473 +4.81139208435979589730560859417420750 -0.55875868236091523814033056701077708
55EOF
56	;;
57	*) echo "bad type: $T"
58	;;
59	esac
60done
61
62