September 2002
Intermediate to advanced
1024 pages
30h 52m
English
POWER
The POWER function raises the first argument to the power indicated by the second argument. The specification for the POWER function is:
FUNCTION POWER (baseNUMBER,powerNUMBER) RETURN NUMBER;
If base is negative, then power must be an integer. The following expression calculates the range of valid values for a BINARY_INTEGER variable (-231 -1 through 231 -1):
POWER (-2, 31) - 1 .. POWER (2, 31) - 1
or:
-2147483649 .. 2147483647
Read now
Unlock full access