isdenorm
Return 1 if input is a denormal value, else return zero.
Description
Detects denormal numbers and returns 1 if the input is denormal, and zero otherwise. 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
Denormal Input [number]
The value to be tested as denormalOutlets
Output [number]
Returns 1 if input is denormalFixed 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 tested as denormal
reset [bang] (default: 0)
Reset inlets to default values.
See Also
Name | Description |
---|---|
fixdenorm | Replace denormal values with 0. |
fixdenorm~ | Replace denormal values with 0. |
isnan | Return 1 if input is NaN (Not a Number), else return zero. |
isnan~ | Return 1 if input is NaN (Not a Number), else return zero. |