A named Magnitude constant identified by its symbol and, where supported, its value
Declared in <mp-units/framework/unit_magnitude.h>
template<
symbol_text Symbol,
long double Value>
requires (Value > 0)
struct mag_constant;
| Name | Description |
|---|---|
_symbol_ | The constant's textual symbol |
_value_ | The constant's numeric value |
| Name | Description |
|---|---|
pi_c | A convenient Magnitude constant for pi, which we can manipulate like a regular number. |