SplitScript reference / f32 / negativeInfinity

f32.negativeInfinity

Constant

f32.negativeInfinity: f32

Negative infinity as a 32-bit floating-point value.

This value compares less than every finite 32-bit float. Negating it produces f32.positiveInfinity.

Effects: pure

Runtime behavior: available everywhere; synchronous

Examples

Start an unbounded maximum search

let maximum = f32.negativeInfinity