log()

Math / Calculation

Description

Calculates the natural logarithm (base e) of a number.

Syntax

float log(float x)

Parameters

NameTypeDescription
xfloatnumber greater than 0

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...