summaryrefslogtreecommitdiff
path: root/src/log_ui.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notice update: added 2020 withvlefevre2020-01-091-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/branches/4.0@13659 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/branches/4.0@13373 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/branches/4.0@13360 280ebfd0-de03-0410-8827-d642c229c3f4
* Minor date-related changes as in the trunk:vlefevre2018-01-091-1/+1
| | | | | | | | | | * Copyright notice update in most files: added 2018. * tools/ck-mparam: in the copyright notice, just keep the year 2011 since this file is not part of the tarball (just used by mpfrlint). * doc/mpfr.texi: updated the month. (merged changesets r12067-12069 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12077 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