summaryrefslogtreecommitdiff
path: root/tests/random2.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Replacedvlefevre2016-02-041-1/+1
| | | | | | | | 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
* 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
* More code clean-up (for both consistency and readability):vlefevre2014-06-251-1/+1
| | | | | | | | | | | | | | | * Use the simple mp_limb_t constants when possible. * New internal macro MPFR_IS_NORMALIZED. Note: this was done with perl -pi -e ' s/~ *\(mp_limb_t\) *0/MPFR_LIMB_MAX/g; s/\(mp_limb_t\) *-1/MPFR_LIMB_MAX/g; s/\(mp_limb_t\) *0/MPFR_LIMB_ZERO/g; s/\(mp_limb_t\) *1L?/MPFR_LIMB_ONE/g' {src,tests}/*.{c,h} svn revert src/mpfr-impl.h and some manual changes. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9091 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/random2.c] Removed a useless use of GMP_NUMB_MASK.vlefevre2014-06-251-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9088 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/random2.c] Fixed unsigned → signed conversion ofvlefevre2014-02-111-2/+4
| | | | | | | non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8928 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
* Use copyright year ranges, followingvlefevre2013-05-301-1/+1
| | | | | | 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
* Copyright notice update: added 2013 withvlefevre2013-01-031-1/+1
| | | | | | | | | 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
* Changed Arenaire to AriC with:vlefevre2012-01-101-1/+1
| | | | | | | 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-101-1/+1
| | | | | | | | | 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
* Added new types mpfr_limb_ptr and mpfr_limb_srcptr to src/mpfr-impl.h,vlefevre2011-02-091-1/+1
| | | | | | | and replaced mp_ptr and mp_srcptr (GMP internals) by these 2 new types respectively. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7455 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2011 withvlefevre2011-01-171-1/+1
| | | | | | | | 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-301-1/+1
| | | | | | | | 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
* New exponent type mpfr_exp_t for MPFR (replacing GMP's mp_exp_t).vlefevre2010-05-071-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6789 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2010 withvlefevre2010-01-201-1/+1
| | | | | | | 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
* Replaced GMP_LIMB_BITS by GMP_NUMB_BITS to use only one of these macros.vlefevre2010-01-081-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6646 280ebfd0-de03-0410-8827-d642c229c3f4
* BITS_PER_MP_LIMB -> GMP_LIMB_BITSzimmerma2010-01-081-1/+1
| | | | | | | | got rid of BYTES_PER_MP_LIMB in configure.in (no longer defined by GMP) Note[VL] (mpfr-impl.h): a mpn_sqr_n() macro is defined to use mpn_mul if it is not already defined (in gmp-impl.h from GMP 4.x). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6644 280ebfd0-de03-0410-8827-d642c229c3f4
* Renamed COPYING.LIB as COPYING.LESSER (GNU Coding Standards, #7.3)vlefevre2009-07-301-1/+1
| | | | | | and updated all the references (except in ChangeLog). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6351 280ebfd0-de03-0410-8827-d642c229c3f4
* Suppressed MPFR_CLEAR_FLAGS (no longer did anything).vlefevre2009-06-261-2/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6294 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/random2.c] added missing mpfr-test.h (revealed by nightly tests), andzimmerma2009-03-251-2/+1
| | | | | | | | | removed mpfr-impl.h (already included in mpfr-test.h) I have also removed MPFR_NEED_LONGLONG_H: I don't see why it is needed, and all tests pass. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6139 280ebfd0-de03-0410-8827-d642c229c3f4
* urandomb.c mpfr-gmp.c mpfr-gmp.h: mpfr_rand_raw is now in urandom.c.thevenyp2009-03-241-3/+3
| | | | | | | | mpfr-impl.h: mpfr_rand_raw is now always build as an internal function. TODO tests/tests.c tests/random2.c: Use mpfr_rand_raw instead of _gmp_rand git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6137 280ebfd0-de03-0410-8827-d642c229c3f4
* Move mpfr_random2 to tests directory, remove it from API.thevenyp2009-03-241-0/+147
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6136 280ebfd0-de03-0410-8827-d642c229c3f4