FTANH
Hyperbolic Tangent
FTANH
Operation:
Hyperbolic Tangent of Source J FPn
Assembler FTANH.<fmt> <ea>,FPn
Syntax:
FTANH.X FPm,FPn
FTANH.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 tangent of that number. Stores the result in the destination
floating-point data register.
Operation Table:
Source
Destination
In
Range
+
Result Hyperbolic Tangent
Zero
+0.0
-O.0
Infinity
+
+1.0 -1.0
NOTE:
Status
Register:
Condition Codes:
Quotient Byte:
Exception Byte:
Accrued Exception Byte:
if the source operand is a NAN, refer to 4.5.4 NANs for more information.
Affected as described in 4.5.5.1 SETTING FLOATING-POINT
CONDITION CODES
Not affected
BSUN
SNAN
OPERR
OVFL
UNFL
DZ
INEX2
INEX1
Cleared
Refer to 4.5.4 NANs.
Cleared
Cleared
Refer to 6.1.5 Underflow.
Cleared
Refer to 6.1.7 Inexact Result.
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
Compatibility
MC68881/MC68882 USER'S MANUAL
FREESCALE
4-115