Annotation of OpenXM_contrib/gmp/mpfr/tests/tlog2.c, Revision 1.1.1.2
1.1 maekawa 1: /* Test file for mpfr_log2.
2:
1.1.1.2 ! ohara 3: Copyright 2001 Free Software Foundation.
! 4: Adapted from tsinh.c.
1.1 maekawa 5:
6: This file is part of the MPFR Library.
7:
8: The MPFR Library is free software; you can redistribute it and/or modify
1.1.1.2 ! ohara 9: it under the terms of the GNU Lesser General Public License as published by
! 10: the Free Software Foundation; either version 2.1 of the License, or (at your
1.1 maekawa 11: option) any later version.
12:
13: The MPFR Library is distributed in the hope that it will be useful, but
14: WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
1.1.1.2 ! ohara 15: or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
1.1 maekawa 16: License for more details.
17:
1.1.1.2 ! ohara 18: You should have received a copy of the GNU Lesser General Public License
1.1 maekawa 19: along with the MPFR Library; see the file COPYING.LIB. If not, write to
20: the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
21: MA 02111-1307, USA. */
22:
1.1.1.2 ! ohara 23: #include <stdio.h>
1.1 maekawa 24: #include <stdlib.h>
25: #include "gmp.h"
26: #include "mpfr.h"
1.1.1.2 ! ohara 27: #include "mpfr-test.h"
1.1 maekawa 28:
1.1.1.2 ! ohara 29: #define TEST_FUNCTION mpfr_log2
! 30: #include "tgeneric.c"
1.1 maekawa 31:
1.1.1.2 ! ohara 32: int
! 33: main (int argc, char *argv[])
1.1 maekawa 34: {
1.1.1.2 ! ohara 35: test_generic (2, 100, 30);
1.1 maekawa 36:
1.1.1.2 ! ohara 37: return 0;
1.1 maekawa 38: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>