11 return 1.f +
z * 0.2133004963397979736328125f;
15 return 1.f +
z * (0.154711246490478515625f +
z * 0.1322681009769439697265625f);
19 return 1.f +
z * (0.169519245624542236328125f +
z * (4.9031913280487060546875e-2
f +
z * 0.10941398143768310546875));
23 return 1.f +
z * (0.166020572185516357421875f +
z * (8.44048559665679931640625e-2
f +
z * (1.11602735705673694610595703125e-3
f +
z * 0.103476583957672119140625f)));
27 return 1.f +
z * (0.1668075025081634521484375f +
z * (7.20207393169403076171875e-2
f +
z * (6.607978045940399169921875e-2
f +
z * ((-3.6048568785190582275390625e-2
f) +
z * 0.10574872791767120361328125
f))));
59 return x*approx_asin_P<DEGREE>(
z);
65 return pihalf - unsafe_asin07<DEGREE>(
x);
75 return x>0 ?
z : pi-
z;
81 return pihalf - unsafe_acos71<DEGREE>(
x);
86 return (
std::abs(x)<0.71
f) ? unsafe_asin07<DEGREE>(
x) : unsafe_asin71<DEGREE>(x);
91 return (
std::abs(x)<0.71
f) ? unsafe_acos07<DEGREE>(
x) : unsafe_acos71<DEGREE>(x);
float approx_asin_P< 7 >(float z)
float approx_asin_P< 9 >(float z)
float unsafe_asin07(float x)
float unsafe_acos(float x)
float unsafe_asin(float x)
T x() const
Cartesian x coordinate.
float unsafe_asin71(float x)
float approx_asin_P< 5 >(float z)
float approx_asin_P< 11 >(float z)
Abs< T >::type abs(const T &t)
float approx_asin_P< 3 >(float z)
float unsafe_acos71(float x)
float unsafe_acos07(float x)
float approx_asin_P(float z)