[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: operation of 'round' function
From: |
David Masterson |
Subject: |
Re: operation of 'round' function |
Date: |
07 Feb 2002 09:20:02 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
>>>>> 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...
So, if it is 2.5, you round to 2, but, if it is 3.5, you round to 4??
--
David Masterson dmaster AT synopsys DOT com
Sr. R&D Engineer Synopsys, Inc.
Software Engineering Sunnyvale, CA
Message not available
- Re: operation of 'round' function, Deepak Goel, 2002/02/07
- Re: operation of 'round' function,
David Masterson <=
- 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, 2002/02/07
Re: operation of 'round' function, Francesco Potorti`, 2002/02/07
Re: operation of 'round' function, maierh, 2002/02/07