diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-12-31 02:19:23 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-12-31 02:19:23 +0000 |
commit | 03aab88494efea1c1ae89de395d27586cef29486 (patch) | |
tree | 9e643eb60d48bdc2e354228297230f0a79331d46 | |
parent | de8e8af4181c689261c09ec6530f3a67be621461 (diff) | |
download | mpfr-03aab88494efea1c1ae89de395d27586cef29486.tar.gz |
[src/set.c] Clarified the mpfr_set_1_2 description.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13354 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | src/set.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -81,7 +81,8 @@ mpfr_abs (mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t rnd_mode) } /* Round (u, inex) into s with rounding mode rnd_mode, where inex is - the ternary value associated with u with the *same* rounding mode. + the ternary value associated with u, which has been obtained using + the *same* rounding mode rnd_mode. Assumes PREC(u) = 2*PREC(s). The generic algorithm is the following: 1. inex2 = mpfr_set (s, u, rnd_mode); |