CRE Programmer's Guide
Math Functions
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
7-15
Power
Power
The Power functions raise a number to a specified power. These functions are not 
available in the native CRE library. 
base
is the number that is raised to a power.
exponent
is the exponent to which base is raised.
Return Value
The Power functions return
base
exponent
INT PROC{CRE_Power_Int16_to_Int16_}(base, exponent);
 {RTL_Power_Int16_to_Int16_} 
 INT base, exponent; ! in TNS only
INT(32) PROC{CRE_Power_Int32_to_Int16_}(base, exponent);
 {RTL_Power_Int32_to_Int16_} 
 INT(32) base; ! in
 INT exponent; ! in TNS only
INT(64) PROC{CRE_Power_Int64_to_Int16_}(base, exponent);
 {RTL_Power_Int64_to_Int16_} 
 INT(64) base; ! in
 INT exponent; ! in TNS only
REAL(32) PROC{CRE_Power_Real32_to_Int16_}(base, exponent);
 {RTL_Power_Real32_to_Int16_} 
 REAL(32) base; ! in
 INT exponent; ! in TNS only
REAL(32) PROC{CRE_Power_Real32_to_Real32_}(base, exponent);
 {RTL_Power_Real32_to_Real32_} 
 REAL(32) base; ! in
 REAL(32) exponent; ! in TNS only
REAL(64) PROC{CRE_Power_Real64_to_Int16_}(base, exponent);
 {RTL_Power_Real64_to_Int16_} 
 REAL(64) base; ! in
 INT exponent; ! in TNS only
REAL(64) PROC{CRE_Power_Real64_to_Real64_}(base, exponent);
 {RTL_Power_Real64_to_Real64_} 
 REAL(64) base; ! in
 REAL(64) exponent; ! in TNS only










