summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* atan: Drop assertion.Andreas Enge2017-03-311-2/+0
| | | | * src/atan.c: Drop assertion.
* atan: Modify comments.Andreas Enge2017-03-311-5/+6
| | | | * src/atan.c: Correct typo and clarify comments.
* atan: Update copyright date.Andreas Enge2017-03-312-2/+2
| | | | * src/atan.c, tests/atan.dat: Update copyright to 2017.
* replaced rounding mode in mpfr_sqr by RNDU (thanks Joseph Myers)Paul Zimmermann2017-03-111-2/+2
|
* [src/atan.c] fixed typo in commentPaul Zimmermann2017-03-081-1/+1
|
* fixed bug in mpc_atan reported by Joseph MyersPaul Zimmermann2017-03-083-7/+41
| | | | (see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2017-March/001404.html)
* added equivalent definition of optimal choice for agmPaul Zimmermann2016-11-151-0/+1
|
* updated referencesPaul Zimmermann2016-11-152-5/+9
|
* Add TODO element.Andreas Enge2016-07-221-0/+4
| | | | * TODO: Add suggestion to support MPFR_RNDA.
* rootofunity: Use a better approximation of the lost bits.rootofunityAndreas Enge2016-07-222-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 Enge2016-07-222-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 Enge2016-07-226-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 Enge2016-07-221-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=8Paul Zimmermann2016-05-241-3/+10
|
* rootofunity: Handle special case of order 0.Andreas Enge2016-05-244-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 Enge2016-05-243-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 Enge2016-05-243-1/+11
| | | | | * doc/mpc.texi, NEWS: Document the function. * Makefile.vc: Add the new files.
* rootofunity: Adapt to current mpc code and compilers.Andreas Enge2016-05-242-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 Enge2016-05-241-4/+4
| | | | git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1197 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* implemented rootofunityAndreas Enge2016-05-245-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 Enge2016-05-241-2/+3
| | | | * doc/mpc.texi [mpc_cmp_abs]: Modify the description for NaN arguments.
* review of mpc_cmp_absPaul Zimmermann2016-05-242-23/+41
|
* Add cmp_abs to Makefile.vc.Andreas Enge2016-05-241-1/+5
| | | | | | * Makefile.vc: Add cmp_abs. This is a follow-up to commit b03e47cce1604c981537ed31c666119a2dc43e09.
* tests: Speed up test of mpc_exp.Andreas Enge2016-05-241-2/+2
| | | | * tests/exp.dat: Decrease exponent for example with argument close to 0.
* Add mpc_cmp_abs.Andreas Enge2016-05-249-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 Enge2016-05-241-0/+5
| | | | * .gitignore: Add entries for ps and pdf documentation.
* Add .gitignore file.Andreas Enge2016-05-241-0/+55
| | | | * .gitignore: New file.
* doc: Clarify a point in the lemma for cmp_abs.Andreas Enge2016-05-241-3/+4
| | | | * algorithms.tex: Add an argument.
* algorithms.tex: Correct the proof of the lemma for mpc_cmp_abs.Andreas Enge2016-05-231-11/+29
|
* fixed typoPaul Zimmermann2016-05-231-2/+2
|
* algorithms.tex: Add description of an algorithm for the yet to be writtenAndreas Enge2016-05-231-0/+60
| | | | function mpc_cmp_abs.
* fixed some tests that were assuming a fixed mpfr default exponent rangePaul Zimmermann2016-05-2011-46/+53
|
* Update copyright dates.Andreas Enge2016-01-182-2/+2
|
* Whitespace change.Andreas Enge2016-01-181-1/+1
|
* Revert "mpfr_get_z_exp -> mpfr_get_z_2exp (added in MPFR 3.0)"Andreas Enge2016-01-121-4/+4
| | | | | | This reverts commit 0f7f1ddea362a11bf424ed7207bc063a69eeafa7. So far, we are still supporting mpfr >= 2.4.2.
* removed trailing spacesPaul Zimmermann2016-01-121-1/+1
|
* removed trailing spacePaul Zimmermann2016-01-121-1/+1
|
* use mpfr_fmma and mpfr_fmms if provided by mpfrPaul Zimmermann2016-01-102-3/+28
|
* mpfr_get_z_exp -> mpfr_get_z_2exp (added in MPFR 3.0)Paul Zimmermann2015-10-061-4/+4
|
* * configure.ac: Modernise the call to AM_INIT_AUTOMAKE.Andreas Enge2015-05-081-1/+1
|
* Adapt valgrind test support to parallel test harness of automake.Andreas Enge2015-05-082-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 Enge2015-05-081-1/+2
|
* added hint for mpc_tanPaul Zimmermann2015-04-221-0/+5
|
* fixed bug reported by Joseph MyersPaul Zimmermann2015-04-112-11/+16
| | | | (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-April/001342.html)
* fixed bugs reported by Joseph MyersPaul Zimmermann2015-04-115-87/+132
| | | | (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-April/001340.html)
* added framework to automatically check wrong overflow or underflow (work inPaul Zimmermann2015-04-105-1/+163
| | | | progress)
* fixed overflow issue in mpc_exp with rounding towards zeroPaul Zimmermann2015-04-093-8/+9
|
* added tests for bug reports by Joseph MyersPaul Zimmermann2015-04-082-0/+6
|
* bug reported by Joseph MyersPaul Zimmermann2015-04-081-0/+3
|
* fixed bug reported by Joseph MyersPaul Zimmermann2015-03-265-4/+34
|