E.V.E
v2022.09.01

◆ full_circle

eve::full_circle = {}
inlineconstexpr

Higher-order Callable Object imbuing a limited range semantic onto other Callable Objects.

Members Functions

auto operator()(eve::callable auto const& f ) const noexcept;
Parameters
fAn instance of eve::callable
Returns
A Callable Object performing the same kind of operation but gives the correct result in \([-\pi, +\pi]\) only and Nan outside. (respectively \([-180, +180]\) if the input in in degrees, \([-1.0, +1.0]\) if the input in in \(\pi\) multiples)

full_circle is currently supported only by direct trigonometric object functions This decorator leads to the fastest algorithm at full precision.