diff options
Diffstat (limited to 'cosh.c')
-rw-r--r-- | cosh.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,6 +19,7 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define MPFR_NEED_LONGLONG_H #include "mpfr-impl.h" /* The computation of cosh is done by @@ -69,7 +70,7 @@ mpfr_cosh (mpfr_ptr y, mpfr_srcptr xt , mp_rnd_t rnd_mode) /* compute the precision of intermediary variable */ Nt = MAX(Nx, Ny); /* The optimal number of bits : see algorithms.ps */ - Nt = Nt + 3 + __gmpfr_ceil_log2 (Nt); + Nt = Nt + 3 + MPFR_INT_CEIL_LOG2 (Nt); /* initialise of intermediary variables */ mpfr_init2 (t, Nt); |