This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: rint -lm function broke
- To: Robert Thomas <thoma041 at info dot census dot gov>
- Subject: Re: rint -lm function broke
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 14 Sep 2000 13:19:15 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <Pine.GSO.4.10.10009141036070.6779-100000@info.census.gov>
On Sep 14, 2000, Robert Thomas <thoma041@info.census.gov> wrote:
> rint under gcc rounds down if the major part is even and the
> minor is exactly 5, rounds correctly if the major part is odd.
I.e., it rounds correctly in both cases. Anyway, this has nothing to
do with GCC. GCC is just a compiler, it uses whatever C library is
available in the OS on which it is running.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me