Polybench® Reference
Results in 1 divided by the input signal.

1/S

Overview

Use this operator to devide 1 by the input sample values.

Operator ports

Input S: Floating point values

Output 1/S: Floating point values

Properties

Find more information about changing properties here: link

Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.' or '$' characters.

Every object has the Caption property. This property is very important, because it is the name by which Polybench recognizes this object.
It is allowed to give multiple objects the same name, as long as the objects are of the same type. In that case, a reference to this caption includes all the objects with the same caption.
In Polybench, every object can be addressed by an Address specifier, which starts with the dollar sign, for example: $My Page.My Object. 'My Page' would be the Caption of a page, and 'My Object' the Caption of an object on that page.

Documentation
type: See description
Optional documentation of this object.

It is good practice to write in short notes why you have used this object, and why its properties are set the way they are set. If this object is an operator, the Documentation text is displayed below the operator symbol.

Details

This operator equals a calculation involving a Divider (link) and a Constant (link) of value 1, but using this operator is more efficient and therefore the preferred way of doing the one-divide-by calculation.

In case a division by zero error occurs, the last valid sample will remain at the output, and the sample stream will simply continue.
During digital signal processing of noisy signals, it is well possible that a division by zero occurs every now and then. Statistically this does not necessarily have to be significant for the calculation results. Therefore, Polybench chooses to allow this error to happen, but will give the programmer a warning below the operator symbol. The warning says: "Division by zero was detected N times", where N is the number of divisions by zero since the last system reset.