summaryrefslogtreecommitdiff
path: root/mpfr.texi
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2007-05-02 12:21:24 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2007-05-02 12:21:24 +0000
commit92951f9a61b0e1901ca26d0e07793409a71e1617 (patch)
tree5f55fc5fa1ace76d0a936b5625eaaf4c1a1a9d51 /mpfr.texi
parent31a888b1764b61635062f5b3a18a48d98620a080 (diff)
downloadmpfr-92951f9a61b0e1901ca26d0e07793409a71e1617.tar.gz
changed order of arguments: now mpfr_remquo (r, q, x, y, rnd).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4422 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r--mpfr.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpfr.texi b/mpfr.texi
index 9f548d85d..dc4dafb07 100644
--- a/mpfr.texi
+++ b/mpfr.texi
@@ -1688,13 +1688,13 @@ the fractional part is generated).
@end deftypefun
@deftypefun int mpfr_remainder (mpfr_t @var{r}, mpfr_t @var{x}, mpfr_t @var{y}, mp_rnd_t @var{rnd})
-@deftypefunx int mpfr_remquo (int* @var{q}, mpfr_t @var{r}, mpfr_t @var{x}, mpfr_t @var{y}, mp_rnd_t @var{rnd})
+@deftypefunx int mpfr_remquo (mpfr_t @var{r}, int* @var{q}, mpfr_t @var{x}, mpfr_t @var{y}, mp_rnd_t @var{rnd})
Set @var{r} to the remainder of the division of @var{x} by @var{y}, with
quotient rounded to the nearest integer (ties rounded to even), and
@var{r} rounded according to the direction @var{rnd}.
The return value is the inexact flag corresponding to @var{r}.
Additionally, @code{mpfr_remquo} stores
-the 3 low significant bits from the quotient in @var{q[0]}.
+the 3 low significant bits from the quotient in @var{*q}.
Note that @var{x} may be so large in magnitude relative to @var{y} that an
exact representation of the quotient is not practical.
These functions are useful for additive argument reduction.