![Omron CJ1G-CPUxx Instructions Manual Download Page 592](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491592.webp)
571
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Section 3-16
Data Format
Floating-point data expresses real numbers using a sign, exponent, and man-
tissa. When data is expressed in floating-point format, the following formula
applies.
Real number = (–1)
s
2
e–1,023
(1.f)
s: Sign
e: Exponent
f: Mantissa
The floating-point data format conforms to the IEEE754 standards. Data is
expressed in 32 bits, as follows:
Number of Digits
The number of effective digits for floating-point data is 53 bits for binary
(approximately 15 digits decimal).
Floating-point Data
The following data can be expressed by floating-point data:
• –
∞
• –1.79769313486232 x 10
308
≤
value
≤
–2.22507385850720 x 10
–308
• 0
• 2.22507385850720 x 10
–308
≤
value
≤
1.79769313486232 x 10
30
DOUBLE FLOATING-POINT DIVIDE
/D
848
DOUBLE DEGREES TO RADIANS
RADD
849
DOUBLE RADIANS TO DEGREES
DEGD
850
DOUBLE SINE
SIND
851
DOUBLE COSINE
COSD
852
DOUBLE TANGENT
TAND
853
DOUBLE ARC SINE
ASIND
854
DOUBLE ARC COSINE
ACOSD
855
DOUBLE ARC TANGENT
ATAND
856
DOUBLE SQUARE ROOT
SQRTD
857
DOUBLE EXPONENT
EXPD
858
DOUBLE LOGARITHM
LOGD
859
DOUBLE EXPONENTIAL POWER
PWRD
860
Double-precision Floating-point Symbol
Comparison Instructions
LD, AND,
OR
+
=D, <>D,
<D, <=D,
>D, or >=D
335 to 340
Instruction
Mnemonic
Function code
Page
Data
No. of bits
Contents
s: sign
1
0: positive; 1: negative
e: exponent
11
The exponent (e) value ranges from 0 to 2,047.
The actual exponent is the value remaining after
1,023 is subtracted from e, resulting in a range
of –1,023 to 1,024. “e=0” and “e=2,047” express
special numbers.
f: mantissa
52
The mantissa portion of binary floating-point
data fits the format 2.0 > 1.f
≥
1.0.
Sign
s
e
f
Exponent
Mantissa
63
62
52 51
0
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 ...