EasyManua.ls Logo

Freescale Semiconductor MC68881 - Page 86

Default Icon
409 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4
FATAN H Hyperbolic Arc Tangent FATAN H
Operation:
Hyperbolic Arc Tangent of Source j FPn
Assembler
FATANH.<fmt> <ea>,FPn
Syntax:
FATAN H.X FPm,FP n
FATANH.X FPn
Attributes:
Format= (Byte, Word, Long, Single, Double, Extended, Packed)
Description:
Converts the source operand to extended precision (if necessary) and cal-
culates the hyperbolic arc tangent of that value. Stores the result in the destination
floating-point data register, This function is not defined for source operands outside
of the range ( - 1 i.. + 1); and the result is equal to - infinity or + infinity if the source
is equal to + 1 or - 1, respectively. If the source is outside of the range [- 1... + 1],
a NAN is returned as the result and the OPERR bit is set in the FPSR.
Operation Table:
Source
Destination
In
Range
Result Hyperbolic
Arc Tangent
Zero
4-
+0,0 -0.0
Infinity
+
NAN 1
NOTE:
1. Sets
the OPERR bit in the FPSR exception byte.
2, If the source operand" is a NAN, refer to 4.5.4 NANs for more information.
Status Register:
Condition Codes:
Quotient Byte:
Exception Byte:
Accrued Exception Byte:
Affected as described in 4.5.5,1 SETTING FLOATING-POINT
CONDITION
CODES
Not affected
BSUN
SNAN
OPERR
Cleared
Refer to 4.5.4
NANs.
Set if the source is > +1 or < -1; cleared
otherwise
OVFL Cleared
UNFL Refer to 6.1.5 Underflow.
DZ Set if the source is equal to + 1 or - 1 ; cleared
otherwise
INEX2 Refer to 6.1.7 Inexact Result.
INEX1 If <fmt> is Packed, refer to 6.1.8 Inexact Result
on Decimal
Input; cleared otherwise.
Affected as described in 6.1.10 IEEE
Exception and
Trap Com-
patibility
FREESCALE
4-28
MC68881/MC68882 USER'S MANUAL

Table of Contents

Related product manuals