5.3 Standard Arithmetic Functions
5.3.6 Exponentiation
5-139
5
APPLICATION
FUNCTIONS
EXPT(_E)
EXPT(_E)
Operation Error
No operation error occurs in the execution of the EXPT(_E) function.
Program Example
The program which performs exponentiation and outputs the operation result from in the
same data type as that of and .
(a) Function without EN/ENO (EXPT)
[Structured ladder]
[ST]
g_real2:= EXPT(g_real1, g_int1);
(b) Function with EN/ENO (EXPT_E)
[Structured ladder]
[ST]
g_bool3 := EXPT_E(g_bool1, g_real1, g_int1, g_real2);
d
s1
s2