[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: operation of 'round' function
From: |
David Kastrup |
Subject: |
Re: operation of 'round' function |
Date: |
07 Feb 2002 18:20:55 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
deego@glue.umd.edu (Deepak Goel) writes:
> > Your interpretation of the docstring is incorrect. The docstring
> > actually says nothing about what should happen in the cases when
> > the fractional part is exactly 0.5.
>
>
> And in such cases, the 'standard' solution is indeed to round it to
> the nearest even integer...
It should be mentioned in the docstring whether Emacs in this case is
guaranteed to round to even, or whether this depends on the
machine/compiler combination on which Emacs is compiled.
Apart from which, this case should be mentioned in any form in the doc
string in the first place.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de
- Re: operation of 'round' function, (continued)
- Message not available
- Re: operation of 'round' function, Deepak Goel, 2002/02/07
- Re: operation of 'round' function, David Masterson, 2002/02/07
- Re: operation of 'round' function, Deepak Goel, 2002/02/08
- Re: operation of 'round' function. Why does it matter?, Alan Mackenzie, 2002/02/09
- Re: operation of 'round' function. Why does it matter?, David Kastrup, 2002/02/09
- Re: operation of 'round' function. Why does it matter?, Alan Mackenzie, 2002/02/10
- Re: operation of 'round' function. Why does it matter?, David Kastrup, 2002/02/11
- Re: operation of 'round' function. Why does it matter?, Eli Zaretskii, 2002/02/12
- Re: operation of 'round' function,
David Kastrup <=
- Re: operation of 'round' function, Francesco Potorti`, 2002/02/07
Re: operation of 'round' function, maierh, 2002/02/07
Re: operation of 'round' function, Andreas Schwab, 2002/02/08
Message not available