summaryrefslogtreecommitdiff
path: root/src/log_ui.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notice update: added 2021 withvlefevre2021-01-031-1/+1
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2020)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2020 from the example in the doc/README.dev file. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14229 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2020 withvlefevre2020-01-081-1/+1
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2019)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2019 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13652 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated the www.gnu.org URL's (http → https) on all the files with:vlefevre2019-01-071-1/+1
| | | | | | | perl -pi -e 's,http://www.gnu.org/,https://www.gnu.org/,g' **/*(.) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13372 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2019 withvlefevre2019-01-011-1/+1
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2018)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2018 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13359 280ebfd0-de03-0410-8827-d642c229c3f4
* Replaced mpfr_mul_2exp & mpfr_div_2exp by mpfr_mul_2ui & mpfr_div_2ui,vlefevre2018-04-171-1/+1
| | | | | | | | respectively (for the tests, except in reuse.c and in taway.c). Note: As documented, mpfr_mul_2exp & mpfr_div_2exp are only kept for compatibility with MPF; mpfr_mul_2ui & mpfr_div_2ui are preferred. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12607 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2018 withvlefevre2018-01-031-1/+1
| | | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2017)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the ck-mparam and timings-mpfr.c files and the mbench directory under "tools" (not distributed with MPFR). Removed 2017 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12067 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2017 withvlefevre2017-01-011-1/+1
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2016 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11117 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] added FIXMEzimmerma2016-09-061-2/+10
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10800 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Changes for ISO C90 compatibility.vlefevre2016-05-251-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10378 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Added an assertion.vlefevre2016-05-251-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10376 280ebfd0-de03-0410-8827-d642c229c3f4
* improved mpfr_log_uizimmerma2016-05-251-49/+80
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10374 280ebfd0-de03-0410-8827-d642c229c3f4
* small improvements to log_ui (still slower than log for large precision)zimmerma2016-05-241-5/+9
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10363 280ebfd0-de03-0410-8827-d642c229c3f4
* Replacedvlefevre2016-02-041-1/+1
| | | | | | | | Contributed by the AriC and Caramel projects by Contributed by the AriC and Caramba projects git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9941 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Added a FIXME comment: mpfr_log_ui is much slower thanvlefevre2016-01-151-0/+4
| | | | | | mpfr_log on some values of n, e.g. around ULONG_MAX/3. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9819 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Fixed the computation of p.vlefevre2016-01-151-2/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9817 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Removed a mpz_sub_ui(...,1) to match the comment.vlefevre2016-01-151-6/+5
| | | | | | | | This -1 came from the previous code, but this doesn't change the value of k because a multiple of 3 cannot be a power of 2. Also renamed a variable. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9816 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Compute the value of k without rounding (if n was largervlefevre2016-01-151-2/+6
| | | | | | | than 2^53 or even 2^24 due to dynamic x87 precision, the result could be wrong) and overflow (3 * n doesn't always fit in a limb). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9815 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Added assertions.vlefevre2016-01-151-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9814 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Replaced a comment by an assertion.vlefevre2016-01-151-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9812 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/log_ui.c] Added a FIXME (integer overflow for large n).vlefevre2016-01-151-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9811 280ebfd0-de03-0410-8827-d642c229c3f4
* added new function mpfr_log_uizimmerma2016-01-141-0/+174
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9802 280ebfd0-de03-0410-8827-d642c229c3f4