Extract non-portability constexpr math functions to new header