|
|
- NAME
- #include <aros/libcall.h>
#include <proto/mathieeedoubbas.h>
#include <proto/mathieeedoubtrans.h>
#include <proto/exec.h>
#include <exec/types.h>
double IEEEDPTanh ()
- SYNOPSIS
- double y
- FUNCTION
- Calculate hyperbolic tangens of the IEEE double precision number
- INPUTS
- y
- IEEE double precision floating point number
- RESULT
- IEEE double precision floating point number
flags:
zero : result is zero
negative : result is negative
overflow : (not possible)
- NOTES
-
- EXAMPLE
- BUGS
-
- SEE ALSO
- MathIEEEDoubleTrans
- INTERNALS
-
( e^x - e^(-x) )
tanh(x) = ----------------
( e^x + e^(-x) )
tanh( |x| >= 18 ) = 1
|