simdpp::rsqrt_rh
From libsimdpp-docs
< fp
template<unsigned N, class E>
Ret<N, _DETAIL_> rsqrt_rh( const Vec<N,E>& e, const Vec<N,E>& x ); |
||
Performs single Newton-Rhapson iteration improving the current estimate e
of reciprocal square root of x
. Effectively implements e * (3 - x*e*e) * 0.5
.
The implementation behaves as if the following set of overloads is provided:
Ret
|
Vec
|
---|---|
float32 | float32 |
float64 | float64 |
Parameters[edit]
e | - | current estimate |
x | - | values to compute reciprocal for |
Return value[edit]
A vector expression evaluating to e * (3 - x*e*e) * 0.5
.
See also[edit]
This section is incomplete |