This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: rint -lm function broke
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: rint -lm function broke
- From: Robert Thomas <thoma041 at info dot census dot gov>
- Date: Thu, 14 Sep 2000 13:31:24 -0400 (EDT)
- cc: gcc-bugs at gcc dot gnu dot org
OH, big apology to Alexandre Oliva. The Linux man page is a lot different
than the sun page on this (I didn't look at sun's man page). Linux says
that it should round to the nearest integer (dated June 6, 1993). I think
that the ISO really should re think this. When dealing with populations
in the millions, .5 rounded is either up or down depending on the major
part represents a big diff. Take a place that has 10.5 million people and
another that has 11.5 -> 10 and 12 respectively? Sounds broke.
-Robert Thomas