[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: operation of 'round' function
From: |
Ronan Waide |
Subject: |
Re: operation of 'round' function |
Date: |
08 Feb 2002 10:21:07 +0000 |
pjacklam@online.no (Peter J. Acklam) writes:
> I guess this proves the often-cited text in the Perl
> documentation. It is equally true for Emacs.
Having received a few emails and apparently opened something of a can
of worms on the topic:
* I'm aware that my initial assumption was incorrect, based on a mere
20-odd years of not having ever encountered round-to-even.
* I understand why round-to-even makes sense. I also understand that
it's the IEEE-preferred way of doing things, and that it's used by
Java. (no, I'm not really a Java developer, I just play one as part
of my sysadmin role)
* Emacs is inconsistent across platforms in its operation, which makes
the function a bit less useful than it might be. I believe that
Emacs should be consistent across platforms, and if the underlying
OS is 'broken' then the Emacs implementation should correct for it.
* The function is underdocumented. If there are two different ways of
doing a thing, and they produce different results, then the one
chosen in the implementation should be explicitly mentioned. Well,
in this case, anyway.
All IMHO, as appropriate.
Cheers,
Waider.
- Re: operation of 'round' function, (continued)
- 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, 2002/02/07
- 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