Writing this comment reminded me of something I noticed years ago about evaluating Bessel functions of the first kind $J_n(x)$ in Excel. (BESSELJ)
I don't use Excel now but at the time I'd checked MacOS and Windows computers with several different released versions of Excel and they all had the same problem.
This was circa 2015.
When the argument passed through $x=8$, there was a step discontinuity of order $10^{-5}$ for $n<9$.
Plotting the first difference will show that the Excel values are step-wise discontinuous at $8$.
Question: Is it possible to know which algorithm had this behavior?
Python source file is available.
Example from Excel:
x J1 J3 J5
7.9997, 0.234593634, -0.291131046, 0.185841208,
7.9998, 0.234607873, -0.291131434, 0.185819063,
7.9999, 0.234622108, -0.291131819, 0.185796918,
8.0000, 0.234628387, -0.291125242, 0.185775021,
8.0001, 0.234642617, -0.291125622, 0.185752874,
8.0002, 0.234656846, -0.291126, 0.185730726,
8.0003, 0.234671072, -0.291126376, 0.185708577
edit: per request:
n x=7.99999952316284 x=8 x=8.00000095367431
-- ------------------ ------------------ ------------------
0 0.17165091838403 0.171650807317694 0.171650583550973
1 0.2346362739686 0.234628386507074 0.234628522235498
2 -0.112991846395527 -0.112993710690925 -0.112993459984572
3 -0.291132200533783 -0.291125241852537 -0.112993459984572
BESSELJ(7.99999952316284,3)=-0.291132200533783000
butBESSELJ(8.00000095367431,3)=-0.291125245492850000
forcing digits until they're all zero in excel 2013 for windows. The latter matches `BESSELJ(8,3) to 8 dp $\endgroup$