Numerical Methods, Swift, JavaScript, Coding, Emscripten.
because it wasn’t actually completing the algorithm due to some shadowed variable causing early termination? The fact that numerics seemed to check out well for smaller cases is a positive sign that there is Not a bug in the JS version, but due to the complexity of the algorithm, we cannot rule out