1 #ifndef DataFormatsMathapprox_asin_h
2 #define DataFormatsMathapprox_asin_h
11 return 1.f +
z * 0.2133004963397979736328125f;
16 return 1.f +
z * (0.154711246490478515625f +
z * 0.1322681009769439697265625f);
21 return 1.f +
z * (0.169519245624542236328125f +
z * (4.9031913280487060546875e-2
f +
z * 0.10941398143768310546875));
26 return 1.f +
z * (0.166020572185516357421875f +
27 z * (8.44048559665679931640625e-2
f +
28 z * (1.11602735705673694610595703125e-3
f +
z * 0.103476583957672119140625f)));
33 return 1.f +
z * (0.1668075025081634521484375f +
34 z * (7.20207393169403076171875e-2
f +
35 z * (6.607978045940399169921875e-2
f +
36 z * ((-3.6048568785190582275390625e-2
f) +
z * 0.10574872791767120361328125
f))));
66 return x * approx_asin_P<DEGREE>(
z);
71 constexpr
float pihalf =
M_PI / 2;
72 return pihalf - unsafe_asin07<DEGREE>(
x);
81 return x > 0 ?
z : pi -
z;
86 constexpr
float pihalf =
M_PI / 2;
87 return pihalf - unsafe_acos71<DEGREE>(
x);
92 return (
std::abs(x) < 0.71
f) ? unsafe_asin07<DEGREE>(
x) : unsafe_asin71<DEGREE>(x);
97 return (
std::abs(x) < 0.71
f) ? unsafe_acos07<DEGREE>(
x) : unsafe_acos71<DEGREE>(x);
constexpr float approx_asin_P(float z)
constexpr float approx_asin_P< 11 >(float z)
constexpr float unsafe_asin71(float x)
constexpr float approx_asin_P< 7 >(float z)
constexpr float unsafe_asin07(float x)
constexpr float unsafe_asin(float x)
constexpr float unsafe_acos(float x)
constexpr float approx_asin_P< 5 >(float z)
constexpr float approx_asin_P< 3 >(float z)
constexpr float unsafe_acos71(float x)
Abs< T >::type abs(const T &t)
uint16_t const *__restrict__ x
constexpr float approx_asin_P< 9 >(float z)
constexpr float unsafe_acos07(float x)