diff options
Diffstat (limited to 'src/floatfns.c')
| -rw-r--r-- | src/floatfns.c | 8 |
1 files changed, 7 insertions, 1 deletions
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. | |||
| 859 | 859 | ||
| 860 | DEFUN ("round", Fround, Sround, 1, 2, 0, | 860 | DEFUN ("round", Fround, Sround, 1, 2, 0, |
| 861 | doc: /* Return the nearest integer to ARG. | 861 | doc: /* Return the nearest integer to ARG. |
| 862 | With optional DIVISOR, return the nearest integer to ARG/DIVISOR. */) | 862 | With optional DIVISOR, return the nearest integer to ARG/DIVISOR. |
| 863 | |||
| 864 | If ARG is equally close to both the nearest integer smaller than ARG | ||
| 865 | and to the nearest integer larger than ARG, the result can be either | ||
| 866 | of these two integers, depending on the underlying implementation of | ||
| 867 | the system library. For example, \(round 2.5\) can return 3 on some | ||
| 868 | systems, but 3 on others. */) | ||
| 863 | (arg, divisor) | 869 | (arg, divisor) |
| 864 | Lisp_Object arg, divisor; | 870 | Lisp_Object arg, divisor; |
| 865 | { | 871 | { |