Hi I'm rewriting a c++ library in zig and there's a few functions that I've attempted to port over but there is floating point error even though I thought it looks like it does the exact same thing. I've attached the files:
thread 11060 panic: Mismatch in solution 0 of 1: Cpp: 2.2549496033751737e0, Zig: 2.254949603375173e0 (a: 1.3475418090820312e-3, b: -1.0535717010498047e-2, c: 3.935861587524414e-2, d: -5.063056945800781e-2)