diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-01-06 14:06:48 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-01-06 14:06:48 +0000 |
commit | 3abf3aa727d5a2aaafb40d2800b68b7b6a9e5980 (patch) | |
tree | 47af5fd6a3e01bdf3b8c9a1c29beeaf15b8875f7 /version.c | |
parent | 2d73e52b1531f4fa2934788f05f80dcd6e46c146 (diff) | |
download | mpfr-3abf3aa727d5a2aaafb40d2800b68b7b6a9e5980.tar.gz |
Added mpfr_version function and test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2598 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'version.c')
-rw-r--r-- | version.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/version.c b/version.c new file mode 100644 index 000000000..47bf0294b --- /dev/null +++ b/version.c @@ -0,0 +1,31 @@ +/* mpfr_version -- MPFR version + +Copyright 2004 Free Software Foundation, Inc. + +This file is part of the MPFR Library. + +The MPFR Library is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or (at your +option) any later version. + +The MPFR Library is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +License for more details. + +You should have received a copy of the GNU Lesser General Public License +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 "gmp.h" +#include "gmp-impl.h" +#include "mpfr.h" +#include "mpfr-impl.h" + +const char * +mpfr_version (void) +{ + return "2.1.0"; +} |