46 const constexpr T epsi = T(0.1);
48 const auto PId = pi<T>() * d;
51 return sin(PId) / PId;
54 const constexpr T c2 = T(-0.1666666666667e-0);
55 const constexpr T c4 = T(0.8333333333333e-2);
56 const constexpr T c6 = T(-0.1984126984127e-3);
57 const constexpr T c8 = T(0.2755731922399e-5);
59 const auto PId2 = PId * PId;
60 return T(1) + PId2 * (c2 + PId2 * (c4 + PId2 * (c6 + PId2 * c8)));