
674
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Section 3-16
Description
DEGD(850) converts the double-precision (64-bit) floating-point number in
words S to S+3 from radians to degrees and places the result in words D to
D+3. (The floating point source data must be in IEEE754 format.)
Radians are converted to degrees by means of the following formula:
Radians
×
180/
π
= degrees
If the absolute value of the result is greater than the maximum value that can
be expressed as floating-point data, the Overflow Flag will turn ON and the
result will be output as
±∞
.
If the absolute value of the result is less than the minimum value that can be
expressed as floating-point data, the Underflow Flag will turn ON and the
result will be output as 0.
Flags
Precautions
The source data in words S to S+3 must be in IEEE754 floating-point data for-
mat.
3-16-11 DOUBLE SINE: SIND(851)
Purpose
Calculates the sine of a double-precision (64-bit) floating-point number (in
radians) and places the result in the specified destination words.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
S
D
S+1CH
D+1CH
SCH
DCH
S+2CH
D+2CH
S+3CH
D+3CH
Result (degrees, 64-bit floating-point data)
Source (radians, 64-bit floating-point data)
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 floating-point value.
Underflow Flag
UF
ON if the absolute value of the result is too small to be
expressed as a double-precision floating-point value.
Negative Flag
N
ON if the result is negative.
OFF in all other cases.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...