Numerical difference between Julia and (C, Fortran, Python) for a chaotic damped driven pendulum

It’s chaotic, so the simplest things can cause this. My guess is that the first 3 use the same standard math library definition of sin and cos, while Julia’s is different in 1ulp or so.

10 Likes