Fortran Intrinsics (2018)
fortran-lang.org
fortran-lang.org
That's right. If you take any of those example calls from the Fortran standard and compile them on any modern processor, your results will differ by a factor of two one way or another.
Does the standard warn you about this? Nowhere. Does the standard committee know about this? Yes. Will they fix their documentary floating-point model to conform with the one truly ubiquitous 32-bit floating-point representation left to us? Of course not.
I was so delighted when I was able to compile the fortran sources as .obj files and then call them from my C++ program to receive the correct results!
The algorithm linked by OP is for the Bessel functions extended to complex arguments, which do not exist in the standard C/C++ library.
The Euclidean norm norm2() should also work as expected as well.
GLSL includes an inverse for fixed-sized (2,3,4) matrices, which can return NaNs for ill-conditioned inputs. But it's fine for inverting transformation matrices.