Computes a square root value.
#include <kyosu/functions.hpp>
{
template<kyosu::concepts::cayley_dickson_like T>
constexpr complexify_t<T>
rsqrt(T z)
noexcept;
template<concepts::real T>
constexpr complexify_t<T>
rsqrt[real_only](T z)
noexcept;
}
constexpr auto rsqrt
Computes a square root value.
Definition: rsqrt.hpp:84
Main KYOSU namespace.
Definition: cinf.hpp:13
Parameters
z: Value to for which square root is computed.
Return value
- A real typed input z is treated as if
complex(z) was entered, unless the option real_only is used in which case the parameter must be a floating_value, the real part of the result will the same as an eve::rsqrt implying a Nan result if the result is not real.
- Returns a square root of 1/z.