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;

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:


1 Like