[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: operation of 'round' function
From: |
Eli Zaretskii |
Subject: |
Re: operation of 'round' function |
Date: |
Fri, 08 Feb 2002 15:12:41 +0200 |
> From: Francesco Potorti` <pot@gnu.org>
> Newsgroups: gnu.emacs.bug
> Date: 08 Feb 2002 13:43:27 +0100
>
> The Emacs primitive simply calls `rint', which works according to the
> current rounding mode.
>
> Are we sure that this is a good solution? Generally speaking, an Elisp
> program should behave the same on any platform.
I don't know, but it could be argued that `round' should be no more
portable than C's `rint'. The C standards, both ISO and Posix,
clearly say that the result depends on the rounding mode.
Re: operation of 'round' function, Andreas Schwab, 2002/02/07
Re: operation of 'round' function, David Kastrup, 2002/02/07
Re: operation of 'round' function, Al Petrofsky, 2002/02/07
Message not available