543
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Double-precision Floating-point Instructions
3
LOGD
Function
LOGD(859) calculates the natural (base e) logarithm of the double-precision (64-bit) floating-point
number in words S to S+3 and places the result in words D to D+3.
• The constant e is 2.718282.
îš„ The following diagram shows the relationship between the input data and result.
S+1 S →S+3 S+2 D+1 DD+3 D+2
log
e
R
S: Input data
R: Result