610
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Section 3-16
Flags
Precautions
The source data in words S to S+3 must be in IEEE754 floating-point data for-
mat.
3-16-19 DOUBLE LOGARITHM: LOGD(859)
Purpose
Calculates the natural (base e) logarithm of a double-precision (64-bit) float-
ing-point number and places the result in the specified destination words.
This instruction is supported by the CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Name
Label
Operation
Error Flag
ER
ON if the source data is not recognized as floating-point
data.
ON if the source data is not a number (NaN).
OFF in all other cases.
Equals Flag
=
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Overflow Flag
OF
ON if the absolute value of the result is too large to be
expressed as a double-precision (64-bit) floating-point
value.
Underflow Flag
UF
ON if the absolute value of the result is too small to be
expressed as a double-precision (64-bit) floating-point
value.
Negative Flag
N
Unchanged
LOGD(859)
S
D
S: First source word
D: First destination word
Variations
Executed Each Cycle for ON Condition
LOGD(859)
Executed Once for Upward Differentiation
@LOGD(859)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
S
D
CIO Area
CIO 0000 to CIO 6140
Work Area
W000 to W508
Holding Bit Area
H000 to H508
Auxiliary Bit Area
A000 to A956
A448 to A956
Timer Area
T0000 to T4092
Counter Area
C0000 to C4092
DM Area
D00000 to D32764
EM Area without bank
E00000 to E32764
EM Area with bank
En_00000 to En_32764
(n = 0 to C)
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...