Skip to content

mp_units::mag_pi

The former magnitude of π. Multiply by the unit pi instead.

Synopsis

Declared in <mp-units/framework/unit_magnitude.h>

[[deprecated("2.3.0: Use `mag<pi>` instead")]]
inline constexpr UnitMagnitude auto mag_pi = mag<detail::pi_c>;

Warning

Deprecated: 2.3.0: Use `mag<pi>` instead. Use of this entity is allowed but discouraged.