summaryrefslogtreecommitdiff
path: root/libm/double/rint.c
AgeCommit message (Collapse)Author
2001-06-19Remove Erik's broken implementation of rint(). Replace it by one "less broken".Manuel Novoa III
Also correct rounding beharior of round() and add trunc(). Note that round() and rint() currently don't check for infs and nans. I decided to wait on that until the big cleanup.
2001-06-18I went nuts and wrote a generic rint implementation. I think it isEric Andersen
correct per the man page and a little testing seems to show it works. -Erik