summaryrefslogtreecommitdiff
path: root/tests/tfrac.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-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
* frac.c, tests/tfrac.c: fixed underflow case in mpfr_frac and addedvlefevre2009-09-181-2/+9
| | | | | | testcase. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6471 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: reverted overflow case test (was incorrect because thevlefevre2009-09-181-11/+2
| | | | | | input was too large). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6466 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: also test the overflow case.vlefevre2009-09-181-2/+11
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6465 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: more tests (case where the fractional part rounds to 1).vlefevre2009-09-181-33/+39
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6464 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: more tests (there are also problems in rounding awayvlefevre2009-09-181-15/+38
| | | | | | from zero or equivalent). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6460 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: also test the ternary value (it is incorrect too).vlefevre2009-09-181-1/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6458 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: improved the testcase so that it triggers the bug forvlefevre2009-09-181-2/+1
| | | | | | both 32 bits and 64 bits. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6455 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: added a comment for latest testcase.vlefevre2009-09-181-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6454 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/tfrac.c: added testcase for bug in mpfr_frac.vlefevre2009-09-181-0/+24
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6453 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
* mp_rnd_t -> mpfr_rnd_tvlefevre2009-06-261-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6295 280ebfd0-de03-0410-8827-d642c229c3f4
* GMP_RNDX -> MPFR_RNDXzimmerma2009-03-031-32/+32
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6053 280ebfd0-de03-0410-8827-d642c229c3f4
* Update to LGPL v3+, as decided by the main MPFR developers.vlefevre2009-03-031-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6050 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2009 withvlefevre2009-01-151-1/+1
| | | | | | | perl -pi -e 's/2008 Free Software/2008, 2009 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5814 280ebfd0-de03-0410-8827-d642c229c3f4
* This is now GNU MPFR!vlefevre2008-10-271-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5654 280ebfd0-de03-0410-8827-d642c229c3f4
* add generic teststhevenyp2008-02-151-0/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5287 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2008 withvlefevre2008-01-011-1/+1
| | | | | | | | perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5151 280ebfd0-de03-0410-8827-d642c229c3f4
* Added "Contributed by the Arenaire and Cacao projects, INRIA." to thevlefevre2007-02-071-0/+1
| | | | | | | copyright notices and removed a few old things. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4350 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2007.vlefevre2007-01-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4326 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed FSF address.vlefevre2006-03-311-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4055 280ebfd0-de03-0410-8827-d642c229c3f4
* Added ', Inc.' when missing after 'Free Software Foundation'.vlefevre2006-01-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3985 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated the copyright notices according to the new GNU rules on:vlefevre2006-01-051-1/+1
| | | | | | | | | | | http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices i.e. added 2006 to every MPFR file. Note: the copyright notices (currently 336) should match the regexp Copyright.* 2006 Free Software so that it will be easier to update them for the next year... git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3983 280ebfd0-de03-0410-8827-d642c229c3f4
* Change the address of the FSF.pelissip2005-06-021-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3606 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated copyright lines.vlefevre2005-01-281-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3231 280ebfd0-de03-0410-8827-d642c229c3f4
* casts to allow compilation with g++zimmerma2005-01-271-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3221 280ebfd0-de03-0410-8827-d642c229c3f4
* improved cov. testzimmerma2004-02-121-2/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2692 280ebfd0-de03-0410-8827-d642c229c3f4
* + Better support of non IEEE doubles.pelissip2004-02-061-1/+1
| | | | | | | + You can compile MPFR without gmp internal files (ie gmp-impl.h, gmp-mparam.h, and config.h). You only need gmp.h and libgmp.a. But you can still compile with GMP internal files (configure detects them). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2665 280ebfd0-de03-0410-8827-d642c229c3f4
* added several hard-coded tests (and fixed bugs found)zimmerma2004-01-221-1/+35
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2644 280ebfd0-de03-0410-8827-d642c229c3f4
* + Optimize a few div.cpelissip2003-12-151-2/+1
| | | | | | | | | | | | + Remove some warnings in asin.c, atan.c. + Include limits.h before gmp-impl.h in mpfr-impl.h + mpfr-tests.h doesn't include anumore standard include files. + Test files include only standard includes and mpfr-tests.h. + Add some forgotten mpfr_clear in mpf[r]_compat. + Remove some warnings in the tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2576 280ebfd0-de03-0410-8827-d642c229c3f4
* reduced test timezimmerma2003-10-071-8/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2484 280ebfd0-de03-0410-8827-d642c229c3f4
* Changed the remaining stderr to stdout.vlefevre2003-09-251-24/+24
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2449 280ebfd0-de03-0410-8827-d642c229c3f4
* reduced timezimmerma2003-06-101-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2318 280ebfd0-de03-0410-8827-d642c229c3f4
* Function mpfr_frac and tests added.vlefevre2002-07-241-0/+185
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1991 280ebfd0-de03-0410-8827-d642c229c3f4