|
|
- NAME
- #include <libraries/mathffp.h>
#include <aros/libcall.h>
#include <proto/mathffp.h>
#include <proto/mathtrans.h>
#include <proto/exec.h>
#include <exec/types.h>
float SPCosh ()
- SYNOPSIS
- float fnum1
- FUNCTION
- Calculate the hyperbolic cosine of the ffp number
- INPUTS
- fnum1
- Motorola fast floating point number
- RESULT
- Motorola fast floating point number
flags:
zero : result is zero
negative : 0 (not possible)
overflow : result too big for ffp-number
- NOTES
-
- EXAMPLE
- BUGS
-
- SEE ALSO
- MathTrans
- INTERNALS
cosh(x) = (1/2)*( e^x + e^(-x) )
cosh( |x| >= 44 ) = infinity;
cosh( |x| >= 9 ) = (1/2) * (e^x);
|