![]() |
The POW operator can be abbreviated with a circumflex (^). For example, TEMP = 2^8 is equivalent to TEMP = 2 POW 8.
|
![]() |
If the value x is too large or too small, an overflow is returned. This occurs if base^exponent exceeds the maximum or minimum 32-bit floating-point value.
|
TEMP = 2 POW 3 or TEMP = 2^3
Creates a new column named TEMP containing the value eight.
|
Creates a new column named TEMP, where each value is the square root of the contents of column V1 (this is equivalent to SQRT(V1)).
|
Creates a new column named TEMP, where each value is the row value of column V1 raised to the corresponding row value of column V2.
|
Creates three new columns named TEMP, VX, and VY. The column TEMP contains the values in V1 raised to the corresponding row values of column V4. The column VX contains the result of column V2 raised to the corresponding values in column V5. The column VY contains the the result of column V3 raised to the corresponding values of V6.
|
TEMP = V1[10:20] POW V2 or TEMP = V1[10:20] POW V2[1:11]
Creates a new column named TEMP, where the first 11 cells contain the result of raising the values in rows 10-20 of column V1 by the values in rows 1-10 of column V2. The other cells in TEMP are empty.
|
LN or LOG
|
|
Copyright IBM Corporation 2012. All Rights Reserved.
|