mp_units::angular::atan2¶
Synopsis¶
Declared in <mp-units/systems/angular/math.h>
template<auto R1, typename Rep1, auto R2, typename Rep2>
requires requires(Rep1 v1, Rep2 v2) {
typename std::common_type_t<quantity<R1, Rep1>, quantity<R2, Rep2>>;
requires requires { atan2(v1, v2); } || requires { std::atan2(v1, v2); };
}
[[nodiscard]] QuantityOf<angle> auto atan2(quantity<R1, Rep1> const& y,
quantity<R2, Rep2> const& x) noexcept;
Return Value¶
Note
The return value should not be discarded.