Binormals flipping in computeFernetFrames

That’s strange? However, I have also had precision problems in connection with getTangent.

Wrong tangent at the end of the curve - #9 by PavelBoytchev

Can you test whether the method of the example
FlightRouteQuaternion works for you?

see Quaternion - method .setFromBasis( e1, e2, e3 )