Skip to content

mp_units::utility::acos

Arc cosine of an uncertain value (result in radians)

Synopsis

Declared in <mp-units/utility/uncertain.h>

[[nodiscard]] constexpr uncertain acos(uncertain const& arg)
  requires requires { acos(arg.value()); } || requires { std::acos(arg.value()); };

Description

NOTE

Formula: σf = σx / √(1 - x²), the same magnitude as for asin

Return Value

Note

The return value should not be discarded.