mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +02:00
Doc fix: quotient/remainder/modulo do not require exact arguments
* doc/ref/api-data.texi (Arithmetic): `floor-remainder' is equivalent to the R5RS `modulo' when the arguments are integers. Previously, equivalence was claimed only for exact integers. Similarly for `truncate-quotient' and `truncate-remainder' compared with the R5RS `quotient' and `remainder'.
This commit is contained in:
parent
df941b5b62
commit
ce6066065d
1 changed files with 2 additions and 2 deletions
|
@ -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 exact integers, @code{floor-remainder} is
|
||||
When @var{x} and @var{y} are integers, @code{floor-remainder} is
|
||||
equivalent to the R5RS integer-only operator @code{modulo}.
|
||||
|
||||
@lisp
|
||||
|
@ -1365,7 +1365,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{x}.
|
||||
|
||||
When @var{x} and @var{y} are exact integers, these operators are
|
||||
When @var{x} and @var{y} are integers, these operators are
|
||||
equivalent to the R5RS integer-only operators @code{quotient} and
|
||||
@code{remainder}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue