|
|
- NAME
- #include <aros/libcall.h>
#include <proto/mathieeesingbas.h>
#include <proto/mathieeesingtrans.h>
#include <proto/exec.h>
#include <exec/types.h>
#include <libraries/mathieeesp.h>
float IEEESPTanh ()
- SYNOPSIS
- float y
- FUNCTION
- Calculate hyperbolic tangens of the IEEE single precision number
- INPUTS
- y
- IEEE single precision floating point number
- RESULT
- IEEE single precision floating point number
flags:
zero : result is zero
negative : result is negative
overflow : (not possible)
- NOTES
-
- EXAMPLE
- BUGS
-
- SEE ALSO
- MathIEEESingleTrans
- INTERNALS
-
( e^x - e^(-x) )
tanh(x) = ----------------
( e^x + e^(-x) )
tanh( |x| >= 9 ) = 1
|