Function core::arch::mips64::__msa_fclass_w
source · pub unsafe fn __msa_fclass_w(a: v4f32) -> v4i32
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Available on (MIPS or MIPS-64) and target feature
msa
and MIPS-64 only.Expand description
Vector Floating-Point Class Mask
Store in each element of vector (four signed 32-bit integer numbers)
a bit mask reflecting the floating-point class of the corresponding element of vector
a
(four 32-bit floating point numbers).
The mask has 10 bits as follows. Bits 0 and 1 indicate NaN values: signaling NaN (bit 0) and quiet NaN (bit 1).
Bits 2, 3, 4, 5 classify negative values: infinity (bit 2), normal (bit 3), subnormal (bit 4), and zero (bit 5).
Bits 6, 7, 8, 9 classify positive values: infinity (bit 6), normal (bit 7), subnormal (bit 8), and zero (bit 9).