501
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Floating-point Math Instructions
3
PWR
Function
PWR(840) raises the 32-bit floating-point number in B+1 and B to the power of the 32-bit floating-point
number in E+1 and E. In other words, PWR(840) calculates XY (X = B+1 and B; Y = E+1 and E).
For example, when the base words (B+1 and B) contain 3.1 and the exponent words (E+1 and E)
contain 3, the result is 3.1
3
or 29.791.
E+1 E
B+1
B
R+1
R
Exponent data
Base data