diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-05-13 11:41:39 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-05-13 11:41:39 +0000 |
commit | 5b028b20d51c6229fd5f9eeed94ee953032d35cf (patch) | |
tree | 3c1189b5042997b8753b191f12b57ed3814d137e /sinh.c | |
parent | f621c4664ae6c2fd29da01cd6b39ee6d1efc3f56 (diff) | |
download | mpfr-5b028b20d51c6229fd5f9eeed94ee953032d35cf.tar.gz |
Add support for FAST_COMPUTE_IS_SMALL_INPUT.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3552 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sinh.c')
-rw-r--r-- | sinh.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ mpfr_sinh (mpfr_ptr y, mpfr_srcptr xt, mp_rnd_t rnd_mode) } } + /* sinh(x) = x + x^3/6 + ... so the error is < 2^(3*EXP(x)-2) */ + MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP(xt)+2,1,rnd_mode, ); + MPFR_TMP_INIT_ABS (x, xt); { |