Expand description
SIMD NaN-safe operations submodule
Functionsยง
- clamp_
f64x4 - Clamp values to a range, preserving NaN
- has_
nan_ f32x8 - Check if any element in f32x8 is NaN
- has_
nan_ f64x4 - Check if any element in the vector is NaN
- mean_
non_ nan_ f64x4 - Calculate mean of non-NaN values
- nan_
to_ default_ f32x8 - Replace NaN values with a default value for f32x8
- nan_
to_ default_ f64x4 - Replace NaN values with a default value
- nan_
to_ zero_ f32x8 - Replace NaN values with zero for f32x8
- nan_
to_ zero_ f64x4 - Replace NaN values with zero
- safe_
divide_ f32x8 - Safe division for f32x8
- safe_
divide_ f64x4 - Safe division that returns NaN for invalid operations (0/0, x/0, NaN/x, x/NaN)
- safe_
log_ f64x4 - Safe logarithm that returns NaN for negative values
- safe_
sqrt_ f64x4 - Safe square root (returns NaN for negative values)