summaryrefslogtreecommitdiff
path: root/acosh.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2001-10-18 15:05:45 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2001-10-18 15:05:45 +0000
commita1026af69cfa5546b82ae67bda54645657f7417b (patch)
tree673273e11a1c08131722e586921551b60374f4cc /acosh.c
parentdd55fa301edbfd2fad619f83d0a6eac95871a18a (diff)
downloadmpfr-a1026af69cfa5546b82ae67bda54645657f7417b.tar.gz
BITS_PER_CHAR replaced by the standard CHAR_BIT.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1299 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acosh.c')
-rw-r--r--acosh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/acosh.c b/acosh.c
index d8a6dfafc..1a7f88a49 100644
--- a/acosh.c
+++ b/acosh.c
@@ -19,7 +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. */
-#include <stdio.h>
+#include <limits.h>
#include "gmp.h"
#include "gmp-impl.h"
#include "mpfr.h"
@@ -97,9 +97,9 @@ mpfr_acosh (y, x, rnd_mode)
/* compute the size of intermediary variable */
if(Ny>=Nx)
- Nt=Ny+2*(BITS_PER_CHAR);
+ Nt=Ny+2*CHAR_BIT;
else
- Nt=Nx+2*(BITS_PER_CHAR);
+ Nt=Nx+2*CHAR_BIT;
boucle=1;