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

sqrt2 Reference

The constant value of sqrt(2)

sqrt2

Examples

Inlets

Control [number]

Non-zero values trigger the square root of 2

Outlets

Degrees to radians constant [number]

The square root of 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 square root of 2

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
sqrt square root of the input
sqrt~ square root of the input
sqrt1_2 The constant value of sqrt(1/2)
sqrt1_2~ The constant value of sqrt(1/2)