Expand description
Validation policies that define how numerical values are checked. Validation policies for scalar types.
This module provides the validation policies that determine how scalar values
are checked for validity. The primary policy is StrictFinitePolicy, which
ensures values are finite and not subnormal.
Structs§
- Debug
Validation Policy - A validation policy that is active only in debug builds.
- Strict
Finite Policy - A validation policy that checks for strict finiteness.
Functions§
- validate_
in_ debug - Validates a value using the given policy, but only in debug builds. In release builds, this function is a no-op and should be optimized away.
Type Aliases§
- Native64
RawComplex Strict Finite Policy - A type alias for a validation policy that enforces strict finiteness for the raw
num::Complex<f64>type. - Native64
RawReal Strict Finite Policy - A type alias for a validation policy that enforces strict finiteness for the raw
f64type.