SafeDiv

Divides two real-valued signals and avoids math errors. If i1, the denominator, is 0, the resulting signal o will be 0.

Blocks tree path

Standard\Arithmetic\SafeDiv

Inputs

Name Type Description
i0 real The numerator.
i1 real The denominator.

Outputs

Name Type Description
o real The quotient of i0 and i1, or 0 if i1 is 0.