5.1 Type Conversion Functions
5.1.17 Single-precision real type
→
double-precision real type conversion
5-51
5
APPLICATION
FUNCTIONS
REAL_TO_LREAL(_E
)
REAL_TO_LREAL(_E)
5.1.17 Single-precision real type → double-precision real type
conversion
REAL_TO_LREAL(_E)
Function
Operation processing
Converts single-precision real type data input to into double-precision real type data, and
outputs the operation result from .
REAL_TO_LREAL(_E)
_E: With EN/ENO
indicates any of the following
functions.
REAL_TO_LREAL REAL_TO_LREAL_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Single-precision real
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Double-precision real
Universal
UD
EN ENO
ds
(EN, s, d);ENO:=
Structured ladder
ST
REAL_TO_LREAL_E
REAL_TO_LREAL_E
s
d
Single-precision real type
1234.0
Double-precision real type
1234