From ea77cc411665cc64de27896ca45c920e001f7820 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 13 Feb 2011 16:28:34 -0500 Subject: [PATCH 1/2] Fix minor errors in docs of division operators * doc/ref/api-data.texi (Arithmetic): The R5RS `quotient', `remainder', and `modulo' operators are exact-integer-only operators. `modulo' is equivalent to `floor-remainder', not `floor-quotient'. --- doc/ref/api-data.texi | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi index a8cce24..5bef926 100644 --- a/doc/ref/api-data.texi +++ b/doc/ref/api-data.texi @@ -1308,7 +1308,7 @@ both @var{q} and @var{r}, and is more efficient than computing each separately. Note that @var{r}, if non-zero, will have the same sign as @var{y}. -When @var{x} and @var{y} are integers, @code{floor-quotient} is +When @var{x} and @var{y} are exact integers, @code{floor-remainder} is equivalent to the R5RS integer-only operator @code{modulo}. @lisp @@ -1365,8 +1365,9 @@ both @var{q} and @var{r}, and is more efficient than computing each separately. Note that @var{r}, if non-zero, will have the same sign as @var{x}. -When @var{x} and @var{y} are integers, these operators are equivalent to -the R5RS integer-only operators @code{quotient} and @code{remainder}. +When @var{x} and @var{y} are exact integers, these operators are +equivalent to the R5RS integer-only operators @code{quotient} and +@code{remainder}. @lisp (truncate-quotient 123 10) @result{} 12 -- 1.7.1