summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-12-31 02:19:23 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-12-31 02:19:23 +0000
commit03aab88494efea1c1ae89de395d27586cef29486 (patch)
tree9e643eb60d48bdc2e354228297230f0a79331d46
parentde8e8af4181c689261c09ec6530f3a67be621461 (diff)
downloadmpfr-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/set.c b/src/set.c
index 9a284c41a..1d7a28f7a 100644
--- a/src/set.c
+++ b/src/set.c
@@ -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);