SplitScript reference / f32 / positiveInfinity

f32.positiveInfinity

Constant

f32.positiveInfinity: f32

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

This value compares greater than every finite 32-bit float and remains infinite under operations such as addition by a finite value.

Effects: pure

Runtime behavior: available everywhere; synchronous

Examples

Start an unbounded minimum search

let minimum = f32.positiveInfinity