diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-10-02 17:17:59 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-10-02 17:17:59 +0000 |
commit | 29963d6597d7fdc221eef8df533a8ad55bd7425f (patch) | |
tree | 27570a058b82424e0e0b08eb142ff248d4fb17ae /tests/tlog1p.c | |
parent | c4681b7961763f6c05e2ce4858787d146cde7219 (diff) | |
download | mpfr-29963d6597d7fdc221eef8df533a8ad55bd7425f.tar.gz |
Updated documentation. In particular, mpfr_set_str_raw renamed
as mpfr_set_str_binary. This function and mpfr_print_binary are
now internal functions. mpfr_print_binary no longer prints the
non-significant 0 bits. Updated the source to match the manual.
mpfr_print_binary has been completely rewritten (now directly
prints to stdout, without using an intermediate string). In
mpfr_set_str_binary, replaced atol by strtol + error checking.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2466 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tlog1p.c')
-rw-r--r-- | tests/tlog1p.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tlog1p.c b/tests/tlog1p.c index 5f63b5834..b00d49245 100644 --- a/tests/tlog1p.c +++ b/tests/tlog1p.c @@ -1,6 +1,6 @@ /* Test file for mpfr_log1p. -Copyright 2001, 2002 Free Software Foundation. +Copyright 2001, 2002, 2003 Free Software Foundation. Adapted from tsinh.c. This file is part of the MPFR Library. @@ -23,7 +23,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> #include "gmp.h" +#include "gmp-impl.h" #include "mpfr.h" +#include "mpfr-impl.h" #include "mpfr-test.h" #define TEST_FUNCTION mpfr_log1p |