Capy-Bearer Documentation

is_finite

lib call

Capy

function is_finite(value : f32) bool
function is_finite(value : f64) bool

Description

is_finite() tests if value is finite.

The compiler emits a direct lib call.

Parameters

value : the floating-point value

Return Values

true or false.

Example

Capy

print(is_finite(0.0), "\n")