Motorola M68000 User Manual Page 147

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 146
Floating Point Instructions
5-136 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
FTAN Tangent FTAN
(MC6888X/004SW)
Operation: Tangent of Source FPn
Assembler FTAN. < fmt > < ea > ,FPn
Syntax: FTAN.X FPm,FPn
FTAN.X FPn
Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed)
Description: Converts the source operand to extended precision (if necessary) and
calculates the tangent 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], the argument is reduced to within that
range before the tangent is calculated. However, large arguments may lose accuracy
during reduction, and very large arguments (greater than approximately 10
20
) lose all
accuracy.
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 Tangent
+ 0.0 – 0.0
NAN
2
Page view 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 356 357

Comments to this Manuals

No comments