bug-gnu-emacs
[Top][All Lists]
Advanced

[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` <address@hidden>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]