add c++14 constexpr numeric algorithms