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

fixnan~ Reference

Replace NaN (Not a Number) values with zero.

fixnan~

Examples

Inlets

Input [auto]

The value to be fixed if NaN

Outlets

Fixed Output [signal]

Returns 0 if input value is NaN

Dynamic Attributes

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

in1 [auto]

The value to be fixed if NaN

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
isnan Return 1 if input is NaN (Not a Number), else return zero.
isnan~~
fixdenorm Replace denormal values with 0.
fixdenorm~ Replace denormal values with 0.