fn j0f_maclaurin_series(x: f32) -> f32Expand description
Generated by SageMath:
# Maclaurin series for j0
def print_expansion_at_0_f():
print(f"pub(crate) const J0_MACLAURIN_SERIES: [u64; 9] = [")
from mpmath import mp, j0, taylor
mp.prec = 60
poly = taylor(lambda val: j0(val), 0, 18)
z = 0
for i in range(0, 18, 2):
print(f"{double_to_hex(poly[i])},")
print("];")
print(f"poly {poly}")
print_expansion_at_0_f()