Skip to content

mp_units::utility::atan

Arc tangent of an uncertain value (result in radians)

Synopsis

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

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

Note

This function is a hidden friend of uncertain, declared only inside that class: it can be found only through argument-dependent lookup.

Description

NOTE

Formula: σf = σx / (1 + x²)

Return Value

Note

The return value should not be discarded.