[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/floatfns.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/floatfns.c |
Date: |
Fri, 08 Feb 2002 05:21:23 -0500 |
Index: emacs/src/floatfns.c
diff -c emacs/src/floatfns.c:1.75 emacs/src/floatfns.c:1.76
*** emacs/src/floatfns.c:1.75 Fri Feb 8 05:18:41 2002
--- emacs/src/floatfns.c Fri Feb 8 05:21:21 2002
***************
*** 861,870 ****
doc: /* Return the nearest integer to ARG.
With optional DIVISOR, return the nearest integer to ARG/DIVISOR.
! If ARG is equally close to both the nearest integer smaller than ARG
! and to the nearest integer larger than ARG, the result can be either
! of these two integers, depending on the underlying implementation of
! the system library. For example, \(round 2.5\) can return 3 on some
systems, but 3 on others. */)
(arg, divisor)
Lisp_Object arg, divisor;
--- 861,869 ----
doc: /* Return the nearest integer to ARG.
With optional DIVISOR, return the nearest integer to ARG/DIVISOR.
! Rounding a value equidistant between two integers may choose the
! integer closer to zero, or it may prefer an even integer, depending on
! your machine. For example, \(round 2.5\) can return 3 on some
systems, but 3 on others. */)
(arg, divisor)
Lisp_Object arg, divisor;