functionconvertRealToIntegers
Casts a double value to two integers
Information
Syntax
int = convertRealToInteger(real);
Description
The Real input argument real is mapped to two Integer values int[1] and int[2]. The function assumes that two Integer values have exactly the same length as one Real value (e.g. one Integer has a length of 32 bits and one Real value has a length of 64 bits).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | real | The Real value |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | int | The Integer values |
Revisions
|
Developed 2014 at the DLR Institute of System Dynamics and Control |