RNBO Objects & Operators fixdenorm
Open Help

fixdenorm

Replace denormal values with 0.

Description

Detects denormal numbers and replaces them with zero. A denormal number is a floating point value very close to zero (filling the underflow gap). Note that in Max (as of Max 6.0) the x87 control flags are set to flush to zero and disable exception handling in audio processing, so denormal fixing should only be required for exported code.

Inlets

Input [number]

The value to be fixed if denormal

Outlets

Fixed Output [number]

Returns 0 if input value is denormal

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]

The value to be fixed if denormal

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
isdenorm Return 1 if input is a denormal value, else return zero.
isdenorm~ Return 1 if input is a denormal value, else return zero.
fixnan Replace NaN (Not a Number) values with zero.
fixnan~ Replace NaN (Not a Number) values with zero.