Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | atan: Drop assertion. | Andreas Enge | 2017-03-31 | 1 | -2/+0 | |
| | | | | * src/atan.c: Drop assertion. | |||||
* | atan: Modify comments. | Andreas Enge | 2017-03-31 | 1 | -5/+6 | |
| | | | | * src/atan.c: Correct typo and clarify comments. | |||||
* | atan: Update copyright date. | Andreas Enge | 2017-03-31 | 2 | -2/+2 | |
| | | | | * src/atan.c, tests/atan.dat: Update copyright to 2017. | |||||
* | replaced rounding mode in mpfr_sqr by RNDU (thanks Joseph Myers) | Paul Zimmermann | 2017-03-11 | 1 | -2/+2 | |
| | ||||||
* | [src/atan.c] fixed typo in comment | Paul Zimmermann | 2017-03-08 | 1 | -1/+1 | |
| | ||||||
* | fixed bug in mpc_atan reported by Joseph Myers | Paul Zimmermann | 2017-03-08 | 3 | -7/+41 | |
| | | | | (see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2017-March/001404.html) | |||||
* | added equivalent definition of optimal choice for agm | Paul Zimmermann | 2016-11-15 | 1 | -0/+1 | |
| | ||||||
* | updated references | Paul Zimmermann | 2016-11-15 | 2 | -5/+9 | |
| | ||||||
* | Add TODO element. | Andreas Enge | 2016-07-22 | 1 | -0/+4 | |
| | | | | * TODO: Add suggestion to support MPFR_RNDA. | |||||
* | rootofunity: Use a better approximation of the lost bits.rootofunity | Andreas Enge | 2016-07-22 | 2 | -5/+16 | |
| | | | | | | | | * src/rootofunity.c [mpc_rootofunity]: Drop the absolute bound for the number of lost bits in favour of a bound depending on the exponents of the result. * tests/rootofunity.dat: Add examples with large n, that is, a result close to the axes. | |||||
* | rootofunity: Handle powers of roots of order n = 3, 4, 6, 8, 12. | Andreas Enge | 2016-07-22 | 2 | -10/+78 | |
| | | | | | | * src/rootofunity.c [mpc_rootofunity]: Handle powers for special n. * tests/rootofunity.dat: Add corresponding tests, in particular with directed rounding. | |||||
* | rootofunity: Allow powers of primitive roots of unity. | Andreas Enge | 2016-07-22 | 6 | -22/+57 | |
| | | | | | | | | | | | | * src/mpc.h: Change the prototype of rootofunity. * doc/mpc.texi: Document the change. * src/rootofunity.c [gcd]: New function. [rootofunity]: Adapt the algorithm. The special cases of n are not yet handled. Correct a mistake in the error analysis, leading to wrong results for large n. * tests/trootofunity.c, tests/rootofunity.dsc, src/rootofunity.c: Adapt the tests. | |||||
* | Update libtool version number. | Andreas Enge | 2016-07-22 | 1 | -1/+1 | |
| | | | | | * src/Makefile.am (libmpc_la_LDFLAGS): Update libtool versioning to accomodate the presence of new functions. | |||||
* | fixed case n=12 + added case n=8 | Paul Zimmermann | 2016-05-24 | 1 | -3/+10 | |
| | ||||||
* | rootofunity: Handle special case of order 0. | Andreas Enge | 2016-05-24 | 4 | -1/+38 | |
| | | | | | | | * src/rootofunity.c: Return NaN+i*NaN on input 0. * tests/rootofunity.dat: New file. * tests/Makefile.am: Register new file. * tests/trootofunity.c: Use data file for tests. | |||||
* | rootofunity: Use the generic test framework. | Andreas Enge | 2016-05-24 | 3 | -1/+43 | |
| | | | | | | * rootofunity.dsc: New file. * Makefile.am: Register the new file. * trootofunity.c: Call the generic tests. | |||||
* | mpc_rootofunity: Finish adding the function. | Andreas Enge | 2016-05-24 | 3 | -1/+11 | |
| | | | | | * doc/mpc.texi, NEWS: Document the function. * Makefile.vc: Add the new files. | |||||
* | rootofunity: Adapt to current mpc code and compilers. | Andreas Enge | 2016-05-24 | 2 | -17/+17 | |
| | | | | | | * src/rootofunity.c: Replace mpc_div_2exp by mpc_div_2ui and GMP_RND* by MPFR_RND*. * tests/trootofunity.c: Correct a signedness warning. | |||||
* | rootsofunity: use mean value theorem for analysis (suggested by Damien Robert) | Andreas Enge | 2016-05-24 | 1 | -4/+4 | |
| | | | | git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1197 211d60ee-9f03-0410-a15a-8952a2c7a4e4 | |||||
* | implemented rootofunity | Andreas Enge | 2016-05-24 | 5 | -43/+196 | |
| | | | | git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1194 211d60ee-9f03-0410-a15a-8952a2c7a4e4 | |||||
* | mpc_cmp_abs: Make the documentation clearer. | Andreas Enge | 2016-05-24 | 1 | -2/+3 | |
| | | | | * doc/mpc.texi [mpc_cmp_abs]: Modify the description for NaN arguments. | |||||
* | review of mpc_cmp_abs | Paul Zimmermann | 2016-05-24 | 2 | -23/+41 | |
| | ||||||
* | Add cmp_abs to Makefile.vc. | Andreas Enge | 2016-05-24 | 1 | -1/+5 | |
| | | | | | | * Makefile.vc: Add cmp_abs. This is a follow-up to commit b03e47cce1604c981537ed31c666119a2dc43e09. | |||||
* | tests: Speed up test of mpc_exp. | Andreas Enge | 2016-05-24 | 1 | -2/+2 | |
| | | | | * tests/exp.dat: Decrease exponent for example with argument close to 0. | |||||
* | Add mpc_cmp_abs. | Andreas Enge | 2016-05-24 | 9 | -10/+333 | |
| | | | | | | | | * src/cmp_abs.c, tests/cmp_abs.dat, tests/cmp_abs.dsc, tests/tcmp_abs.c: New files. * src/mpc.h: Declare new function. * src/Makefile.am: Register new source file. * tests/Makefile.am: Register new test files. * doc/mpc.texi, NEWS: Document new function. | |||||
* | Add entries to .gitgnore file. | Andreas Enge | 2016-05-24 | 1 | -0/+5 | |
| | | | | * .gitignore: Add entries for ps and pdf documentation. | |||||
* | Add .gitignore file. | Andreas Enge | 2016-05-24 | 1 | -0/+55 | |
| | | | | * .gitignore: New file. | |||||
* | doc: Clarify a point in the lemma for cmp_abs. | Andreas Enge | 2016-05-24 | 1 | -3/+4 | |
| | | | | * algorithms.tex: Add an argument. | |||||
* | algorithms.tex: Correct the proof of the lemma for mpc_cmp_abs. | Andreas Enge | 2016-05-23 | 1 | -11/+29 | |
| | ||||||
* | fixed typo | Paul Zimmermann | 2016-05-23 | 1 | -2/+2 | |
| | ||||||
* | algorithms.tex: Add description of an algorithm for the yet to be written | Andreas Enge | 2016-05-23 | 1 | -0/+60 | |
| | | | | function mpc_cmp_abs. | |||||
* | fixed some tests that were assuming a fixed mpfr default exponent range | Paul Zimmermann | 2016-05-20 | 11 | -46/+53 | |
| | ||||||
* | Update copyright dates. | Andreas Enge | 2016-01-18 | 2 | -2/+2 | |
| | ||||||
* | Whitespace change. | Andreas Enge | 2016-01-18 | 1 | -1/+1 | |
| | ||||||
* | Revert "mpfr_get_z_exp -> mpfr_get_z_2exp (added in MPFR 3.0)" | Andreas Enge | 2016-01-12 | 1 | -4/+4 | |
| | | | | | | This reverts commit 0f7f1ddea362a11bf424ed7207bc063a69eeafa7. So far, we are still supporting mpfr >= 2.4.2. | |||||
* | removed trailing spaces | Paul Zimmermann | 2016-01-12 | 1 | -1/+1 | |
| | ||||||
* | removed trailing space | Paul Zimmermann | 2016-01-12 | 1 | -1/+1 | |
| | ||||||
* | use mpfr_fmma and mpfr_fmms if provided by mpfr | Paul Zimmermann | 2016-01-10 | 2 | -3/+28 | |
| | ||||||
* | mpfr_get_z_exp -> mpfr_get_z_2exp (added in MPFR 3.0) | Paul Zimmermann | 2015-10-06 | 1 | -4/+4 | |
| | ||||||
* | * configure.ac: Modernise the call to AM_INIT_AUTOMAKE. | Andreas Enge | 2015-05-08 | 1 | -1/+1 | |
| | ||||||
* | Adapt valgrind test support to parallel test harness of automake. | Andreas Enge | 2015-05-08 | 2 | -10/+11 | |
| | | | | | | | * m4/valgrind-tests.m4: Separate exported variables into VALGRIND and VALGRIND_OPTS. * tests/Makefile.am: Use LOG_COMPILER and AM_LOG_FLAGS instead of TESTS_ENVIRONMENT. | |||||
* | NEWS: Provide more details on the recent bug fixes. | Andreas Enge | 2015-05-08 | 1 | -1/+2 | |
| | ||||||
* | added hint for mpc_tan | Paul Zimmermann | 2015-04-22 | 1 | -0/+5 | |
| | ||||||
* | fixed bug reported by Joseph Myers | Paul Zimmermann | 2015-04-11 | 2 | -11/+16 | |
| | | | | (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-April/001342.html) | |||||
* | fixed bugs reported by Joseph Myers | Paul Zimmermann | 2015-04-11 | 5 | -87/+132 | |
| | | | | (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-April/001340.html) | |||||
* | added framework to automatically check wrong overflow or underflow (work in | Paul Zimmermann | 2015-04-10 | 5 | -1/+163 | |
| | | | | progress) | |||||
* | fixed overflow issue in mpc_exp with rounding towards zero | Paul Zimmermann | 2015-04-09 | 3 | -8/+9 | |
| | ||||||
* | added tests for bug reports by Joseph Myers | Paul Zimmermann | 2015-04-08 | 2 | -0/+6 | |
| | ||||||
* | bug reported by Joseph Myers | Paul Zimmermann | 2015-04-08 | 1 | -0/+3 | |
| | ||||||
* | fixed bug reported by Joseph Myers | Paul Zimmermann | 2015-03-26 | 5 | -4/+34 | |
| |