56 #include "vdt/vdtMath.h"
59 static const float SN[] = {
60 -8.39167827910303881427E-11,
61 4.62591714427012837309E-8,
62 -9.75759303843632795789E-6,
63 9.76945438170435310816E-4,
64 -4.13470316229406538752E-2,
65 1.00000000000000000302E0,
67 static const float SD[] = {
68 2.03269266195951942049E-12,
69 1.27997891179943299903E-9,
70 4.41827842801218905784E-7,
71 9.96412122043875552487E-5,
72 1.42085239326149893930E-2,
73 9.99999999999999996984E-1,
76 static const float CN[] = {
77 2.02524002389102268789E-11,
78 -1.35249504915790756375E-8,
79 3.59325051419993077021E-6,
80 -4.74007206873407909465E-4,
81 2.89159652607555242092E-2,
82 -1.00000000000000000080E0,
84 static const float CD[] = {
85 4.07746040061880559506E-12,
86 3.06780997581887812692E-9,
87 1.23210355685883423679E-6,
88 3.17442024775032769882E-4,
89 5.10028056236446052392E-2,
90 4.00000000000000000080E0,
94 static const float FN4[] = {
95 4.23612862892216586994E0,
96 5.45937717161812843388E0,
97 1.62083287701538329132E0,
98 1.67006611831323023771E-1,
99 6.81020132472518137426E-3,
100 1.08936580650328664411E-4,
101 5.48900223421373614008E-7,
103 static const float FD4[] = {
105 8.16496634205391016773E0,
106 7.30828822505564552187E0,
107 1.86792257950184183883E0,
108 1.78792052963149907262E-1,
109 7.01710668322789753610E-3,
110 1.10034357153915731354E-4,
111 5.48900252756255700982E-7,
115 static const float FN8[] = {
116 4.55880873470465315206E-1,
117 7.13715274100146711374E-1,
118 1.60300158222319456320E-1,
119 1.16064229408124407915E-2,
120 3.49556442447859055605E-4,
121 4.86215430826454749482E-6,
122 3.20092790091004902806E-8,
123 9.41779576128512936592E-11,
124 9.70507110881952024631E-14,
126 static const float FD8[] = {
128 9.17463611873684053703E-1,
129 1.78685545332074536321E-1,
130 1.22253594771971293032E-2,
131 3.58696481881851580297E-4,
132 4.92435064317881464393E-6,
133 3.21956939101046018377E-8,
134 9.43720590350276732376E-11,
135 9.70507110881952025725E-14,
138 static const float GN4[] = {
139 8.71001698973114191777E-2,
140 6.11379109952219284151E-1,
141 3.97180296392337498885E-1,
142 7.48527737628469092119E-2,
143 5.38868681462177273157E-3,
144 1.61999794598934024525E-4,
145 1.97963874140963632189E-6,
146 7.82579040744090311069E-9,
148 static const float GD4[] = {
150 1.64402202413355338886E0,
151 6.66296701268987968381E-1,
152 9.88771761277688796203E-2,
153 6.22396345441768420760E-3,
154 1.73221081474177119497E-4,
155 2.02659182086343991969E-6,
156 7.82579218933534490868E-9,
159 static const float GN8[] = {
160 6.97359953443276214934E-1,
161 3.30410979305632063225E-1,
162 3.84878767649974295920E-2,
163 1.71718239052347903558E-3,
164 3.48941165502279436777E-5,
165 3.47131167084116673800E-7,
166 1.70404452782044526189E-9,
167 3.85945925430276600453E-12,
168 3.14040098946363334640E-15,
170 static const float GD8[] = {
172 1.68548898811011640017E0,
173 4.87852258695304967486E-1,
174 4.67913194259625806320E-2,
175 1.90284426674399523638E-3,
176 3.68475504442561108162E-5,
177 3.57043223443740838771E-7,
178 1.72693748966316146736E-9,
179 3.87830166023954706752E-12,
180 3.14040098946363335242E-15,
184 float polevlf(
float xx,
const float *coef,
int N ) {
195 ans = ans * x + *p++;
207 float p1evlf(
float xx,
const float *coef,
int N ){
218 ans = ans * x + *p++;
227 int sicif(
float xx,
float & si,
float & ci ){
228 const float MAXNUMF = 1.7014117331926442990585209174225846272e38;
229 const float PIO2F = 1.5707963267948966192;
231 const float EUL = 0.57721566490153286061;
256 float su,cu; vdt::fast_sincosf(x,su,cu);
295 vdt::fast_sincosf(x,s,c);
307 si = PIO2F - f * c - g *
s;
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
T x() const
Cartesian x coordinate.
float polevlf(float xx, const float *coef, int N)
float p1evlf(float xx, const float *coef, int N)
int sicif(float xx, float &si, float &ci)