summaryrefslogtreecommitdiff
path: root/src/nrandom.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notice update: added 2021 withvlefevre2021-01-031-1/+1
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2020)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2020 from the example in the doc/README.dev file. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14229 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated URLs.vlefevre2020-09-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14110 280ebfd0-de03-0410-8827-d642c229c3f4
* [src,tests] Consistency: in prototypes, changedvlefevre2020-08-211-1/+1
| | | | | | | | | const mpfr_t to mpfr_srcptr mpfr_t to mpfr_ptr (except for mpfr_t *), as this is equivalent (the array is converted to a pointer) and the mpfr_srcptr/mpfr_ptr form is the usual one. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14103 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2020 withvlefevre2020-01-081-1/+1
| | | | | | | | 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/trunk@13652 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated the www.gnu.org URL's (http → https) on all the files with:vlefevre2019-01-071-1/+1
| | | | | | | 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/trunk@13372 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2019 withvlefevre2019-01-011-1/+1
| | | | | | | | 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/trunk@13359 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2018 withvlefevre2018-01-031-1/+1
| | | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2017)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the ck-mparam and timings-mpfr.c files and the mbench directory under "tools" (not distributed with MPFR). Removed 2017 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12067 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2017 withvlefevre2017-01-011-1/+1
| | | | | | | | | 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
* [src/{erandom.c,nrandom.c}] Updated a reference.vlefevre2016-02-021-2/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9919 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2016 withvlefevre2016-01-011-1/+1
| | | | | | | | | 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-131-1/+1
| | | | | | | | | 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
* Removed the need of MPFR_USE_MINI_GMP tests for mpfr_[ne]randomvlefevre2014-07-021-10/+0
| | | | | | | | | functions (source and tests) as mpfr_random_deviate_value no longer needs mpq_t (since r9066). Also removed a static assertion in src/random_deviate.c for the same reason. Note: the change done in r9133 is now really useful! git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9135 280ebfd0-de03-0410-8827-d642c229c3f4
* Renamed WANT_MINI_GMP to MPFR_USE_MINI_GMP as it is used in mpfr.hvlefevre2014-07-021-1/+1
| | | | | | | (all MPFR macros that appear there should start with MPFR_ to avoid conflicts with other software). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9129 280ebfd0-de03-0410-8827-d642c229c3f4
* Avoid an empty translation unit (see ISO C99, 6.9). Some errors couldvlefevre2014-01-171-0/+6
| | | | | | be triggered with "gcc -std=c99 -pedantic-errors". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8756 280ebfd0-de03-0410-8827-d642c229c3f4
* first step towards making MPFR compile with --enable-mini-gmp, so far makezimmerma2014-01-161-0/+4
| | | | | | | succeeds and all tests compile, but many tests fail, will investigate later git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8753 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2014 withvlefevre2014-01-031-1/+1
| | | | | | | | | 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
* Applied patch 1 by Ondřej Bílka, fixing common typos:vlefevre2013-07-221-1/+1
| | | | | | https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00014.html git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8619 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed compiler warningszimmerma2013-06-061-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8581 280ebfd0-de03-0410-8827-d642c229c3f4
* applied patch from Charles Karneyzimmerma2013-06-051-13/+47
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8579 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/nrandom.c] Corrected indentation.vlefevre2013-06-011-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8564 280ebfd0-de03-0410-8827-d642c229c3f4
* GNU stylezimmerma2013-05-311-45/+73
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8556 280ebfd0-de03-0410-8827-d642c229c3f4
* removed mpfr_grandom_alt (likewise previous commit)zimmerma2013-05-311-15/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8551 280ebfd0-de03-0410-8827-d642c229c3f4
* original contribution from Charles Karney <charles.karney@sri.com>zimmerma2013-05-311-0/+131
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8548 280ebfd0-de03-0410-8827-d642c229c3f4