This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rint -lm function broke



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]