Skip to main content

Native32StrictFiniteInDebug

Type Alias Native32StrictFiniteInDebug 

Source
pub type Native32StrictFiniteInDebug = NumKernelStrictFiniteInDebug<f32, 24>;
Expand description

A kernel policy that enforces strict finiteness for f32 values only in debug builds.

This is a type alias for NumKernelStrictFiniteInDebug<f32, 24>.

This policy is designed for performance-critical applications. In debug builds, it behaves identically to Native32StrictFinite, panicking on validation failures. In release builds, these validation checks are disabled, and operations proceed assuming the inputs are valid. Use this policy with caution when you can guarantee the integrity of your data in release environments.

Aliased Typeยง

pub struct Native32StrictFiniteInDebug { /* private fields */ }