Capy-Bearer Documentation

is_nan

lib call

Capy

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

Description

is_nan() tests if value is NaN.

The compiler emits a direct lib call.

Parameters

value : the floating-point value

Return Values

true or false.

Example

Capy

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