summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests/tgeneric_ccc.c: take tie case into account when avoiding double ↵thevenyp2008-09-261-10/+9
| | | | | | rounding error. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@211 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* configure.ac: check for a recent MPFR library (adapted from MPFR's ↵thevenyp2008-09-261-4/+17
| | | | | | configure.in). git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@210 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* configure.ac: swap mpfr and gmp detection (this fix the bug of non-detection ↵thevenyp2008-09-261-3/+3
| | | | | | of a static mpfr library). git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@209 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/mpc.h: add macros for mpc version number.thevenyp2008-09-262-2/+9
| | | | | | | README.dev: update new release instructions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@208 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* added feature requests and changesenge2008-09-252-0/+18
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@207 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* automatic version update in an unimportant fileenge2008-09-251-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@206 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* just a typoenge2008-09-251-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@205 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tmul.c: remove unused variable.thevenyp2008-09-251-1/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@204 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tadd_fr.c: Use correct type and better variable names.thevenyp2008-09-251-13/+14
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@203 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Update changes dates and authors in copyright line.thevenyp2008-09-249-9/+9
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@202 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tadd_fr.c: check binary value (moved from test/test.c)thevenyp2008-09-242-81/+36
| | | | | | | tests/test.c: removed tests now done otherwhere. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@201 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tmul_ui.c: fixed another typozimmerma2008-09-241-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@200 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tmul_ui.c: Fix typo.thevenyp2008-09-241-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@199 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tgeneric_fc.c: random tests for real functions of one complex variable and ↵thevenyp2008-09-2411-5/+1102
| | | | | | | | | | | | | | | | | tests for parameter reuse. tnorm.c tabs.c: use tgeneric_fc.c tgeneric_ccs.c:random tests for complex functions of two variables : the first one of type mpfr_t and the second one of type (signed) long int; and tests for parameter reuse. tmul_si.c: use tgeneric_ccs.c tgeneric_cuc.c:random tests for complex functions of two variables : the first one of type unsigned long and the second one of type mpc_t; and tests for parameter reuse. tui_div.c tui_sub.c: use tgeneric_cuc.c tgeneric_cuuc.c: random tests for complex functions of three variables : the first and second one of type unsigned long and the third one of type mpc_t; and tests for parameter reuse. tui_ui_sub.c: use tgeneric_cuuc.c Makefile.am: add tgeneric_fc.c, tgeneric_ccs.c, tgeneric_cuc.c, and tgeneric_cuuc.c to EXTRA_DIST, and add new tests files. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@198 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/set_fr: Fix bug (wrong rounding mode in real part).thevenyp2008-09-241-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@197 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/fr_sub.c: Fix bug revealed by tests (wrong sign in imaginary part).thevenyp2008-09-245-54/+340
| | | | | | | | | tests/tgeneric_cfc.c: random tests for complex functions of two variables : the first one of type mpfr_t and the second one of type mpc_t; and tests for parameter reuse. tests/Makefile.am: add tgeneric_cfc.c to EXTRA_DIST and add new tests files. tests/tfr_div.c tests/tfr_sub.c: use tgeneric_cfc.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@196 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccf.c: Fix typo, clear variable.thevenyp2008-09-241-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@195 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/set_fr.c: Fix bug.thevenyp2008-09-241-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@194 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* div_fr.c mul_fr.c: Fix bug revealed by reuse tests.thevenyp2008-09-242-4/+20
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@193 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tgeneric_ccf.c: random tests for complex functions of two variables : the ↵thevenyp2008-09-246-4/+420
| | | | | | | | | | first one of type mpc_t and the second one of type mpfr_t; and tests for parameter reuse. Makefile.am: add tgeneric_ccf.c to EXTRA_DIST and add new tests files. tsub_fr.c tmul_fr.c tdiv_fr.c tadd_fr.c: use tgeneric_ccf.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@192 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tmul.c: Speed up test while increasing exponent range.thevenyp2008-09-242-11/+8
| | | | | | | tests/tdiv.c: Speed up test. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@191 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tlog.c: Put tests exp(log(z)) == z and log(exp(z)) == z into new ↵thevenyp2008-09-241-28/+31
| | | | | | function, use test_default_random instead of obsolete mpc_random, and speed up test. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@190 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccu.c: random tests for complex functions of two variables : ↵thevenyp2008-09-238-3/+506
| | | | | | | | | | the first one of type mpc_t and the second one of type unsigned long; and tests for parameter reuse. tests/Makefile.am: add tgeneric_ccu.c to EXTRA_DIST and add new tests files. tadd_ui.c tsub_ui.c tmul_ui.c tdiv_ui.c tmul_2exp.c tdiv_2exp.c: use tgeneric_ccu.c. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@189 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_ccc.c: random tests for complex functions of two complex ↵thevenyp2008-09-236-240/+290
| | | | | | | | | | | variable and tests for parameter reuse. tests/Makefile.am: add tgeneric_ccc.c to EXTRA_DIST tests/tdiv.c tests/tadd.c tests/tsub.c tests/tmul.c: use tgeneric_ccc.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@188 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tfr_div.c: rename function 'check_random', avoiding ambiguity with ↵thevenyp2008-09-231-2/+2
| | | | | | libc function. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@187 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/div.c: Fix bug (an exact case was not correctly handle).thevenyp2008-09-232-3/+24
| | | | | | | test/tdiv.c: Add a test for this bug. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@186 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tdiv.c: complete tests with regular value and move them in a separated ↵thevenyp2008-09-231-12/+43
| | | | | | function. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@185 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tdiv.c: Changes in mpc_div_ref thevenyp2008-09-231-17/+21
| | | | | | | | | - fix bug: use rnd_im instead of GMP_RNDN - fix one comment - cosmetic changes git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@184 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/cos.c: Fix bug revealed by reuse tests.thevenyp2008-09-191-6/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@183 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tgeneric_cc.c: random tests for complex functions of one complex ↵thevenyp2008-09-1914-41/+269
| | | | | | | | | | | variable and tests for parameter reuse. tests/Makefile.am: add tgeneric.cc plus some tests files tconj, tneg tests/tlog.c tests/ttan.c tests/tcos.c tests/tsin.c tests/tsqrt.c tests/tconj.c tests/ttanh.c tests/tcosh.c tests/texp.c tests/tsinh.c tests/tsqr.c tests/tneg.c: use tgeneric_cc.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@182 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* incremented the version numbers to avoid accidentsenge2008-09-183-6/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@181 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* reactivated -Werr flag after the 0.5 releaseenge2008-09-181-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@180 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add a tools/ directory that contains helper scripts. For the time being, ↵thevenyp2008-09-188-0/+327
| | | | | | contains scripts for the PIPOL platform (see tools/README.pipol). git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@179 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* small changes for releasing version 0.5enge2008-09-173-11/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@178 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* configure.ac: Comment line turning on the gcc option '-Werror' for the whole ↵thevenyp2008-09-171-1/+1
| | | | | | project. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@177 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* release of version 0.5enge2008-09-163-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@176 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Speed up tests.thevenyp2008-09-168-10/+10
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@175 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* new, trivial fr_divenge2008-09-162-99/+16
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@174 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* updated some tests for new third parameter of tgenericenge2008-09-166-6/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@173 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* peed up some lengthy tests.thevenyp2008-09-167-9/+9
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@172 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* update some files in preparation of the 0.5 releaseenge2008-09-165-100/+84
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@171 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* minor changes prior to the 0.5 releaseenge2008-09-164-14/+19
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@170 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* corrected tiny error in tfr_div.cenge2008-09-152-6/+4
| | | | | | | erased things from TODO that are done git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@169 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [TODO] added pointers for C99 and LIA3zimmerma2008-09-151-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@168 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/fr_div.c: Add new function (preliminary version, adapted from mpc_div, ↵thevenyp2008-09-126-6/+229
| | | | | | | | | | need a better handling for very big/very small exponents). src/mpc.h src/Makefile.am doc/mpc.texi: Add mpc_fr_div. tests/Makefile.am tests/tfr_div.c: Associated tests (need tests for special values). git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@167 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add void in empty prototype (remove warnings with gcc option ↵thevenyp2008-07-3116-49/+49
| | | | | | '-Wold-style-definition'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@166 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* decreased version number, to be able to send it outenge2008-07-181-2/+2
| | | | | | | before the release git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@165 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* increase the version number as we are nearing the releaseenge2008-07-181-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@164 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Move section 'Rounding Modes' into chapter 'MPC Basics'.thevenyp2008-07-181-53/+68
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@163 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Add new functions mpc_fr_sub, mpc_sub_fr, mpc_set_fr, and mpc_get_version.thevenyp2008-07-188-17/+159
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@162 211d60ee-9f03-0410-a15a-8952a2c7a4e4