>> "shouldn't it be TF_E_UPGRADE_LIBRARY?"
Yes, but unfortunately TF 3.x didn't have that error code. So it can't return it. So instead, it will just return a generic failure if you're trying to use newer features not available on older version of the TurboFloat library.