log2f Reference

The logarithm base 2 of the input. Output value is approximated for faster computation.

log2f

Inlets

Input [number]

Input value to be processed.

Outlets

Log Output [number]

The approximated log base 2 of the input.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

Input value to be processed.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
log2 The logarithm base 2 of the input