aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-08 10:21:21 +0000
committerEli Zaretskii2002-02-08 10:21:21 +0000
commita32a48572a1d8460f3ffccb25ddf50091ace22ba (patch)
tree1b3463c818c0d4c38281be39c36fe4178b3cfc70 /src/floatfns.c
parent6ded2c89b9a8523cd09ed1aa73dfaff59e405b1a (diff)
downloademacs-a32a48572a1d8460f3ffccb25ddf50091ace22ba.tar.gz
emacs-a32a48572a1d8460f3ffccb25ddf50091ace22ba.zip
(Fround): A better doc fix.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index 0064eec6259..708dfab547a 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -861,10 +861,9 @@ DEFUN ("round", Fround, Sround, 1, 2, 0,
861 doc: /* Return the nearest integer to ARG. 861 doc: /* Return the nearest integer to ARG.
862With optional DIVISOR, return the nearest integer to ARG/DIVISOR. 862With optional DIVISOR, return the nearest integer to ARG/DIVISOR.
863 863
864If ARG is equally close to both the nearest integer smaller than ARG 864Rounding a value equidistant between two integers may choose the
865and to the nearest integer larger than ARG, the result can be either 865integer closer to zero, or it may prefer an even integer, depending on
866of these two integers, depending on the underlying implementation of 866your machine. For example, \(round 2.5\) can return 3 on some
867the system library. For example, \(round 2.5\) can return 3 on some
868systems, but 3 on others. */) 867systems, but 3 on others. */)
869 (arg, divisor) 868 (arg, divisor)
870 Lisp_Object arg, divisor; 869 Lisp_Object arg, divisor;