Motorola M68000 User Manual Page 39

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 38
Floating Point Instructions
5-28 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
FCOS Cosine FCOS
(MC6888X, M68040FPSP)
Operation: Cosine of Source FPn
Assembler FCOS. < fmt > < ea > ,FPn
Syntax: FCOS.X FPm,FPn FCOS.X FPn
Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description: Converts the source operand to extended precision (if necessary) and
calculates the cosine of that number. Stores the result in the destination floating-point
data register. This function is not defined for source operands of ± infinity. If the source
operand is not in the range of [ – 2π... + 2π], then the argument is reduced to within that
range before the cosine is calculated. However, large arguments may lose accuracy
during reduction, and very large arguments (greater than approximately 10
20
) lose all
accuracy. The result is in the range of [ – 1... + 1].
Operation Table:
NOTES:
1. If the source operand is a NAN, refer to 1.6.5 Not-A-Numbers for more information.
2. Sets the OPERR bit in the floating-point status register exception byte.
DESTINATION
SOURCE
1
+ In Range + Zero + Infinity
Result Cosine + 1.0 NAN
2
Page view 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 356 357

Comments to this Manuals

No comments