<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>
<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY.-->
<c74object module="rnbo" kind="rnboobject" name="fixnan" category="Math">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Operators</metadata>
<metadata name="tag">RNBO Gen-Operators</metadata>
<metadata name="tag">RNBO DSP</metadata>
</metadatalist>
<digest>Replace NaN (Not a Number) values with zero.</digest>
<description><p>
Replaces NaNs with zero. A NaN (Not a Number) is a floating point data value which represents an undefined or unrepresentable value,
such as the result of dividing by zero. Computations on NaNs produce more NaNs,
and so it is often preferable to replace the NaN with a zero value.
Note that division and modulo operators in gen~ protect against generating NaNs by default,
so this should only be required for protecting against incoming values in exported code.
</p></description>
<!--ARGUMENTS-->
<!--NONE-->
<!--OPTIONS-->
<rnbooptionlist>
<option name="hot" size="1" type="bool">
<digest>All inlets trigger calculation.</digest>
<attributelist>
<attribute name="default" type="bool" value="0"></attribute>
</attributelist>

</option>
</rnbooptionlist>
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="in1" size="1" type="number">
<digest>The value to be fixed if NaN</digest>

</attribute>
<attribute name="reset" size="1" type="bang">
<digest>Reset inlets to default values.</digest>
<attributelist>
<attribute name="default" type="bang" value="0"></attribute>
</attributelist>

</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_in1" name="Input" type="number">
<digest>The value to be fixed if NaN</digest>

</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out1" name="Fixed Output" type="number">
<digest>Returns 0 if input value is NaN</digest>

</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="rnbo_isnan" type="rnborefpage" module="RNBO" display="isnan"></seealso>
<seealso name="rnbo_isnan~~" type="rnborefpage" module="RNBO" display="isnan~~"></seealso>
<seealso name="rnbo_fixdenorm" type="rnborefpage" module="RNBO" display="fixdenorm"></seealso>
<seealso name="rnbo_fixdenorm~" type="rnborefpage" module="RNBO" display="fixdenorm~"></seealso>
</seealsolist>
</c74object>