A newer version of Max is available. Click here to access the latest version of the Max documentation

ln2 Reference

the constant value of ln(2)

ln2

Examples

Inlets

Control [number]

Non-zero values trigger the value of ln(2)

Outlets

ln(2) [number]

The constant value of ln(2)

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]

Non-zero values trigger the value of ln(2)

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
log The natural logarithm of the input (log base e)
e The constant value of e
ln10 The constant value of ln(10)