summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notice update: added 2020 withvlefevre2020-01-095-5/+5
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2019)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2019 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@13659 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated the www.gnu.org URL's (http → https) on all the files with:vlefevre2019-01-075-5/+5
| | | | | | | perl -pi -e 's,http://www.gnu.org/,https://www.gnu.org/,g' **/*(.) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@13373 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2019 withvlefevre2019-01-015-5/+5
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2018)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2018 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@13360 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated mpfr.org URL's to use https (except in ChangeLog and NEWS).vlefevre2018-05-311-1/+1
| | | | | | (marked changeset r12740 as merged from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12741 280ebfd0-de03-0410-8827-d642c229c3f4
* Minor date-related changes as in the trunk:vlefevre2018-01-095-5/+5
| | | | | | | | | | * Copyright notice update in most files: added 2018. * tools/ck-mparam: in the copyright notice, just keep the year 2011 since this file is not part of the tarball (just used by mpfrlint). * doc/mpfr.texi: updated the month. (merged changesets r12067-12069 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12077 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2017 withvlefevre2017-01-015-5/+5
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2016 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11117 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] For MPFR >= 4, output float128 support info.vlefevre2016-09-231-3/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10890 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] A bit more output.vlefevre2016-09-231-2/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10888 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c]vlefevre2016-09-231-5/+112
| | | | | | | | * Really support C++ compilers (tested with g++ 6.2.0). * Output information about the C implementation. * Detect MPIR (→ output information on MPIR instead of GMP). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10886 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c]vlefevre2016-09-231-8/+11
| | | | | | | | | * Code simplification: support for MPFR versions less than 3.0 had already been dropped with the use of MPFR_RNDN. * For MPFR patches, output "[none]" when there are no patches. * Output mpfr_ptr size. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10885 280ebfd0-de03-0410-8827-d642c229c3f4
* Replacedvlefevre2016-02-045-5/+5
| | | | | | | | Contributed by the AriC and Caramel projects by Contributed by the AriC and Caramba projects git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9941 280ebfd0-de03-0410-8827-d642c229c3f4
* simplifiedzimmerma2016-01-271-5/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9880 280ebfd0-de03-0410-8827-d642c229c3f4
* also print the rounded valuezimmerma2016-01-271-7/+19
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9872 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/can_round.c] Removed the useless #include <gmp.h> andvlefevre2016-01-271-3/+1
| | | | | | replaced the internal mpfr_dump by mpfr_printf. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9870 280ebfd0-de03-0410-8827-d642c229c3f4
* added example on how to use mpfr_can_roundzimmerma2016-01-271-0/+57
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9868 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2016 withvlefevre2016-01-014-4/+4
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2015 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9779 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2015 withvlefevre2015-02-134-4/+4
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2014 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9278 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2014 withvlefevre2014-01-034-4/+4
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the tools/mbench directory was not modified). Removed 2013 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8723 280ebfd0-de03-0410-8827-d642c229c3f4
* Use copyright year ranges, followingvlefevre2013-05-304-4/+4
| | | | | | http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8540 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples] Replaced the old rounding mode macros (GMP_RNDN, etc.) by thevlefevre2013-03-045-24/+21
| | | | | | new ones (MPFR_RNDN, etc.) in the *.c files; updated ReadMe file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8461 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2013 withvlefevre2013-01-034-4/+4
| | | | | | | | | perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 directory (the tools/mbench directory was not modified). Removed 2012 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8447 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-examples/version.c] Output sizeof(mpfr_t) value.vlefevre2012-03-261-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8128 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] Output mpfr_prec_t information with all MPFRvlefevre2012-02-231-5/+12
| | | | | | versions. Output signedness information for MPFR types/macros. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8036 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] Output more information about the precision andvlefevre2012-02-231-0/+10
| | | | | | exponent types. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8034 280ebfd0-de03-0410-8827-d642c229c3f4
* Changed Arenaire to AriC with:vlefevre2012-01-104-4/+4
| | | | | | | perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7993 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2012 withvlefevre2012-01-104-4/+4
| | | | | | | | | perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file (the m4 and tools/mbench directories were not modified). Removed 2011 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7986 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] Output mpfr_buildopt_gmpinternals_p() andvlefevre2011-09-201-1/+7
| | | | | | mpfr_buildopt_tune_case() values with MPFR 3.1 or later. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7870 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] Output MPFR features and size of MPFR types.vlefevre2011-06-011-0/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7714 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2011 withvlefevre2011-01-174-4/+4
| | | | | | | | perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 and tools/mbench directories. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7389 280ebfd0-de03-0410-8827-d642c229c3f4
* Replacedvlefevre2010-07-304-4/+4
| | | | | | | | Contributed by the Arenaire and Cacao projects by Contributed by the Arenaire and Caramel projects git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7026 280ebfd0-de03-0410-8827-d642c229c3f4
* Added examples/version.c (and updated Makefile.am).vlefevre2010-05-281-0/+92
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6886 280ebfd0-de03-0410-8827-d642c229c3f4
* Changed mp_prec_t into mpfr_prec_t.vlefevre2010-04-301-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6767 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2010 withvlefevre2010-01-203-3/+3
| | | | | | | perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the mbench directory. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6684 280ebfd0-de03-0410-8827-d642c229c3f4
* Add examples into $docdir (without using a subdir, as this would bevlefevre2009-08-184-0/+248
a bit bloated just to add a few files). * Added "examples" directory with a ReadMe file and 3 examples. * Makefile.am: added files from the "examples" directory and changed dist_doc_DATA into nobase_dist_doc_DATA so that the "examples" directory is not stripped in the target directory $docdir. * README: added "examples/". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6368 280ebfd0-de03-0410-8827-d642c229c3f4