Capy-Bearer Documentation

log

host call

Capy

function log(value : f32) f32
function log(value : f64) f64

Description

log() returns the host math result for value.

This function uses a host call.

Parameters

value : the input value

Return Values

An f32 or f64 value.

Example

Capy

var value := log(2.0)
print(value, "\n")