rint -lm function broke

Alexandre Oliva aoliva@redhat.com
Thu Sep 14 09:37:00 GMT 2000


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


More information about the Gcc-bugs mailing list