|
sandbox
|
Public Types | |
| using | value_type = Type |
Public Member Functions | |
|
template<scalar Other> requires (std::is_convertible_v<Other, Type>) | |
| constexpr | basic_radian (const Other value) noexcept |
|
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
| constexpr | basic_radian (const basic_radian< Other > &other) noexcept |
|
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
| constexpr auto | operator= (const basic_radian< Other > &other) noexcept -> basic_radian< Type > & |
|
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
| constexpr auto | operator+= (const basic_radian< Other > &rhs) noexcept -> basic_radian< Type > & |
|
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
| constexpr auto | operator-= (const basic_radian< Other > &rhs) noexcept -> basic_radian< Type > & |
|
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
| constexpr auto | operator*= (const Other rhs) noexcept -> basic_radian< Type > & |
| constexpr auto | value () const noexcept -> value_type |
| constexpr | operator value_type () const noexcept |
| constexpr auto | data () noexcept -> value_type * |
Static Public Attributes | |
| static constexpr basic_radian | min {value_type{0}} |
| static constexpr basic_radian | max {value_type{2 * std::numbers::pi_v<value_type>}} |