824
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
• These instructions calculate the logarithm using natural logarithm (e) of the value specified by (s), and store the operation
result in the device specified by (d).
• Input a positive value only. (No negative value can be calculated.)
• When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
Error code
(SD0)
Description
3402H The value input to (s) is -0, a subnormal number, NaN (not a number), or .
3405H An out-of-range value is set to (s).
• The specified value is a negative number.
• The specified value is 0.
(s)+1 (s) (d)+1 (d)
log ( )
Single-precision real number Single-precision real number