MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / pisinf

Function pisinf

include/Eigen/src/Core/GenericPacketMath.h:1007–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005/** \internal \returns isinf(a) */
1006template <typename Packet>
1007EIGEN_DEVICE_FUNC inline Packet pisinf(const Packet& a) {
1008 using Scalar = typename unpacket_traits<Packet>::type;
1009 constexpr Scalar inf = NumTraits<Scalar>::infinity();
1010 return pcmp_eq(pabs(a), pset1<Packet>(inf));
1011}
1012
1013/** \internal \returns the sine of \a a (coeff-wise) */
1014template <typename Packet>

Callers 1

UnaryFunctors.hFile · 0.85

Calls 3

pcmp_eqFunction · 0.70
pabsFunction · 0.70
infinityFunction · 0.50

Tested by

no test coverage detected