Typo in deprecation warning

/** A single-precision constant for pi. */
[[deprecated ("This is deprecated in favour of MathConstants<double>::pi.")]]
const constexpr float   float_Pi   = MathConstants<float>::pi;
#endif

It should recommend using MathConstants<float>::pi to replace float_Pi

1 Like

It could also be noted that C++ has pi now, so you can use that if you are on latest C++ standard:

std::numbers::pi_v<float>

1 Like