From: Eli Zaretskii Date: Fri, 8 Feb 2002 10:24:10 +0000 (+0000) Subject: (Fround): Doc fix. X-Git-Tag: emacs-21.2~101 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7247c5a8917d4995502369584c9c9abc05eba92;p=emacs.git (Fround): Doc fix. --- diff --git a/src/ChangeLog b/src/ChangeLog index 62652307ec5..c28386f4376 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-02-08 Eli Zaretskii + + * floatfns.c (Fround): Doc fix. + 2002-02-07 Stefan Monnier * lisp.h (Fx_file_dialog): Export (for Motif code in fileio.c). diff --git a/src/floatfns.c b/src/floatfns.c index db1c3a7231e..88cf27a65bc 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -857,7 +857,12 @@ With optional DIVISOR, return the largest integer no greater than ARG/DIVISOR.") DEFUN ("round", Fround, Sround, 1, 2, 0, "Return the nearest integer to ARG.\n\ -With optional DIVISOR, return the nearest integer to ARG/DIVISOR.") +With optional DIVISOR, return the nearest integer to ARG/DIVISOR.\n\ +\n\ +Rounding a value equidistant between two integers may choose the\n\ +integer closer to zero, or it may prefer an even integer, depending on\n\ +your machine. For example, \(round 2.5\) can return 3 on some\n\ +systems, but 3 on others.") (arg, divisor) Lisp_Object arg, divisor; {