Refactor C++ standard test
Precompute fix_recip table