![]() |
|
#include <MathFunctionsImpl.h>
Static Public Member Functions | |
| static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet | run (const Packet &a, const Packet &approx_a_recip) |
Fast reciprocal using Newton-Raphson's method.
Preconditions:
If the preconditions are satisfied, which they are for for the _*_rcp_ps instructions on x86, the result has a maximum relative error of 2 ulps, and correctly handles reciprocals of zero, infinity, and NaN.
|
inlinestatic |
References a, Eigen::internal::pcmp_eq(), Eigen::internal::pmul(), Eigen::internal::pnmadd(), Eigen::internal::pselect(), tmp, and plotDoE::x.