Lines Matching refs:FL2FXCONST_DBL
122 FL2FXCONST_DBL(7.775862990872099e-001),
123 FL2FXCONST_DBL(7.814919928673978e-001),
124 FL2FXCONST_DBL(7.834450483314648e-001),
125 FL2FXCONST_DBL(7.844216021392089e-001),
126 FL2FXCONST_DBL(7.849098823026687e-001),
127 FL2FXCONST_DBL(7.851540227918509e-001),
128 FL2FXCONST_DBL(7.852760930873737e-001),
129 FL2FXCONST_DBL(7.853371282415015e-001),
130 FL2FXCONST_DBL(7.853676458193612e-001),
131 FL2FXCONST_DBL(7.853829046083906e-001),
132 FL2FXCONST_DBL(7.853905340029177e-001),
133 FL2FXCONST_DBL(7.853943487001828e-001),
134 FL2FXCONST_DBL(7.853962560488155e-001),
135 FL2FXCONST_DBL(7.853972097231319e-001),
136 FL2FXCONST_DBL(7.853976865602901e-001),
137 FL2FXCONST_DBL(7.853979249788692e-001),
138 FL2FXCONST_DBL(7.853980441881587e-001),
139 FL2FXCONST_DBL(7.853981037928035e-001),
140 FL2FXCONST_DBL(7.853981335951259e-001)
149 FIXP_DBL ret = FL2FXCONST_DBL(-1.0f); in fixp_atan2()
154 if (y > FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
155 if (x > FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
157 } else if (x < FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
160 q = FL2FXCONST_DBL(+1.0f); /* y/x = pos/zero = +Inf */ in fixp_atan2()
163 } else if (y < FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
164 if (x > FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
166 } else if (x < FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
169 q = FL2FXCONST_DBL(-1.0f); /* y/x = neg/zero = -Inf */ in fixp_atan2()
173 q = FL2FXCONST_DBL(0.0f); in fixp_atan2()
188 if (q > FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
192 at = FL2FXCONST_DBL(+M_PI / 2 / ATO_SCALE); in fixp_atan2()
194 } else if (q < FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
198 at = FL2FXCONST_DBL(-M_PI / 2 / ATO_SCALE); in fixp_atan2()
201 at = FL2FXCONST_DBL(0.0f); in fixp_atan2()
217 if (x > FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
219 } else if (x < FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
220 if (y >= FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
221 ret = at2 + FL2FXCONST_DBL(M_PI / AT2O_SCALE); in fixp_atan2()
223 ret = at2 - FL2FXCONST_DBL(M_PI / AT2O_SCALE); in fixp_atan2()
227 if (y > FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
228 ret = FL2FXCONST_DBL(+M_PI / 2 / AT2O_SCALE); in fixp_atan2()
229 } else if (y < FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
230 ret = FL2FXCONST_DBL(-M_PI / 2 / AT2O_SCALE); in fixp_atan2()
231 } else if (y == FL2FXCONST_DBL(0.0f)) { in fixp_atan2()
232 ret = FL2FXCONST_DBL(0.0f); in fixp_atan2()
252 FDK_ASSERT(FL2FXCONST_DBL(1.0 / 64.0) == Q(Q_ATANINP)); in fixp_atan()
254 if (x < FL2FXCONST_DBL(1.0 / 64.0)) in fixp_atan()
268 temp = fMultAddDiv2((FL2FXCONST_DBL(0.1449824901444650f) >> 1), x2, in fixp_atan()
269 FL2FXCONST_DBL(-0.0382544649702990)); in fixp_atan()
270 temp = fMultAddDiv2((FL2FXCONST_DBL(-0.3205332923816640f) >> 2), x2, temp); in fixp_atan()
271 temp = fMultAddDiv2((FL2FXCONST_DBL(0.9991334482227801f) >> 3), x2, temp); in fixp_atan()
273 } else if (x < FL2FXCONST_DBL(1.28 / 64.0)) { in fixp_atan()
275 FIXP_DBL PI_BY_4 = FL2FXCONST_DBL(3.1415926 / 4.0) >> 1; /* pi/4 in q30 */ in fixp_atan()
277 delta_fix = (x - FL2FXCONST_DBL(1.0 / 64.0)) << 5; /* q30 */ in fixp_atan()