core::arch::mips::__msa_fclass_w - Rust
Description: API documentation for the Rust `__msa_fclass_w` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, __msa_fclass_w

# [−][src]Function core::arch::mips::__msa_fclass_w

    pub unsafe fn __msa_fclass_w(a: v4f32) -> v4i32

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS and target feature `msa` only.

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).