Converts a signal of any type to a real. The resulting signal o will be the closest possible value to i0. Notice that there are high integer values that can not be represented exactly by the binary representation of real. Reals are 32-bit IEEE floating point values in the simulator, while it is dependent on the target language in the code generator.
Primitive\Types\Real
Name | Type | Description |
---|---|---|
i0 | any | The signal to convert. |
Name | Type | Description |
---|---|---|
o | real | The resulting real signal. |