| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* src/rootofunity.c [mpc_rootofunity]: Handle powers for special n.
* tests/rootofunity.dat: Add corresponding tests, in particular with
directed rounding.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| | |
|
| |
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* src/rootofunity.c: Replace mpc_div_2exp by mpc_div_2ui and GMP_RND*
by MPFR_RND*.
* tests/trootofunity.c: Correct a signedness warning.
|
| |
|
|
| |
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1197 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1194 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|