Real

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.

Blocks tree path

Primitive\Types\Real

Inputs

Name Type Description
i0 any The signal to convert.

Outputs

Name Type Description
o real The resulting real signal.