In a cpp header I want to have the following work:
inline constexpr auto gravitational_constant = math::softfloat::float64_t(6.674e-11);
// This will work when it's an integer value
inline constexpr auto gravitational_constant = math::softfloat::float64_t(6);
Just can't use constexpr when it's a double or float.
Is it possible to make this work as an constexpr?