This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: [rfc] rint() rounds to even


Ulrich Drepper wrote:-

> The function is rounding to the closest integer.  The documentation
> cannot and will not be changed since it is not required, other
> implementation can do something else.  If somebody relies on .5
> rounding in a certain way s/he is doing something wrong.

Then the fact that it is unspecified / undefined should be documented.

Neil.

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