499
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Floating-point Math Instructions
3
LOG
Function
LOG(468) calculates the natural (base e) logarithm of the 32-bit floating-point number in S+1 and S and
places the result in R+1 and R.
The constant e is 2.718282.
The following diagram shows the relationship between the input data and result.
R+1 R
S
S+1
Source (32-bit floating-point data)
Result (32-bit floating-point data)
log
e
R
S: Input data
R: Result