ClosedBit error docs

CB_ERR_NONFINITE_FLOAT

Non-finite floating result. A floating-point operation produced NaN, positive infinity, or negative infinity.

Why it happens

A floating-point operation produced NaN, positive infinity, or negative infinity.

How to fix it

Validate inputs and use fallback helpers for sqrt, division, log, and user-entered numbers.

Copy-paste fix pattern
library CB-Math

fn main() {
    f64 root = CB-Math.sqrt_or(input_number, 0)
    println(root)
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.