summaryrefslogtreecommitdiff
path: root/round_near_x.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-08-09 10:18:50 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-08-09 10:18:50 +0000
commitd106fb469f68743c1649540d730f9c15f4f14cda (patch)
tree0ba4fd7edb102756d8c537b16791ea1baf0d2d88 /round_near_x.c
parentf8187c2d7ed5af49dc4a1358903238f23fa6c557 (diff)
downloadmpfr-d106fb469f68743c1649540d730f9c15f4f14cda.tar.gz
Added a TODO concerning the description of mpfr_round_near_x.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4733 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'round_near_x.c')
-rw-r--r--round_near_x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/round_near_x.c b/round_near_x.c
index 68d312021..5a81a3435 100644
--- a/round_near_x.c
+++ b/round_near_x.c
@@ -27,6 +27,7 @@ MA 02110-1301, USA. */
/* int mpfr_round_near_x (mpfr_ptr y, mpfr_srcptr v, mpfr_uexp_t err, int dir,
mp_rnd_t rnd)
+ TODO: fix this description.
Assuming y = o(f(x)) = o(x + g(x)) with |g(x)| < 2^(EXP(v)-error)
If x is small enough, y ~= v. This function checks and does this.