From 6ded2c89b9a8523cd09ed1aa73dfaff59e405b1a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 8 Feb 2002 10:19:25 +0000 Subject: [PATCH] (Fround): Doc fix. --- src/ChangeLog | 4 ++++ src/floatfns.c | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1af848ebc80..6b393590ac1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-02-08 Eli Zaretskii + + * floatfns.c (Fround): Doc fix. + 2002-02-08 Pavel Jan,Bm(Bk * sysdep.c (init_system_name): Put unused variable `p' in #if 0. diff --git a/src/floatfns.c b/src/floatfns.c index ea06db5b5f3..0064eec6259 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -859,7 +859,13 @@ With optional DIVISOR, return the largest integer no greater than ARG/DIVISOR. DEFUN ("round", Fround, Sround, 1, 2, 0, doc: /* Return the nearest integer to ARG. -With optional DIVISOR, return the nearest integer to ARG/DIVISOR. */) +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; { -- 2.39.5