simdpp::isnan
From libsimdpp-docs
< fp
template<unsigned N, class E>
Ret<N, _DETAIL_> isnan( Vec<N,E> a ); |
||
Checks if the values in the floating-point vector a
are Not-a-Number values. The implementation behaves as if the following set of overloads is provided:
Ret
|
Vec
|
---|---|
mask_float32 | float32 |
mask_float64 | float64 |
The return type is a vector expression.
Parameters[edit]
a | - | floating-point vector |
Return value[edit]
A vector expression evaluating for each value to all bits set if corresponding value is not a number and zero otherwise.
Equivalent operation[edit]
r0 = isnan(a0) ? 0xff...00 : 0 ... rN = isnan(aN) ? 0xff...00 : 0
See also[edit]
This section is incomplete |