mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
feat: cotes_angle
constant added
This commit is contained in:
@@ -46,6 +46,9 @@ concept Angle = QuantityOfT<T, dim_angle>;
|
|||||||
template<UnitOf<dim_angle<>> U, Representation Rep = double>
|
template<UnitOf<dim_angle<>> U, Representation Rep = double>
|
||||||
using angle = quantity<dim_angle<>, U, Rep>;
|
using angle = quantity<dim_angle<>, U, Rep>;
|
||||||
|
|
||||||
|
template<Representation Rep = double>
|
||||||
|
inline constexpr auto cotes_angle = angle<radian, Rep>(1);
|
||||||
|
|
||||||
#ifndef UNITS_NO_LITERALS
|
#ifndef UNITS_NO_LITERALS
|
||||||
|
|
||||||
inline namespace literals {
|
inline namespace literals {
|
||||||
|
Reference in New Issue
Block a user