summaryrefslogtreecommitdiff
path: root/atanh.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 /atanh.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 'atanh.c')
-rw-r--r--atanh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/atanh.c b/atanh.c
index a4d74768a..b7c166a5d 100644
--- a/atanh.c
+++ b/atanh.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"
@@ -106,9 +106,9 @@ mpfr_atanh (y, x, rnd_mode)
/* compute the size of temporary variable */
if(Ny>=Nx)
- Nt=Ny+2*(BITS_PER_CHAR)+10;
+ Nt=Ny+2*CHAR_BIT+10;
else
- Nt=Nx+2*(BITS_PER_CHAR)+10;
+ Nt=Nx+2*CHAR_BIT+10;
boucle=1;