On Sat, May 10, 2003 at 12:29:27AM -0400, Tom Lane wrote:
> "Dann Corbit" <DCorbit@connx.com> writes:
>
> I do have a bit of a problem with the CVS-tip version of this code: it
> falls back to implementing rint() in terms of modf(). I would like to
> know the justification for assuming that modf() is more portable than
> rint().
modf() is part of C89 and POSIX, just as floor(). I have modf()
here, I do not have rint().
rint() was a BSD thing and is now part of C99.
Kurt