summaryrefslogtreecommitdiff
path: root/lib/libm/src/s_round.c
AgeCommit message (Collapse)Author
2013-11-11Add initial version of ceill, floorl and roundl from FreeBSD.joerg
2007-08-21Adopt an (older) fix from FreeBSD: using ceil() on values in (0,0.5]drochner
leads to loss of precision, leading to rounding into the wrong direction for the case 0.5-epsilon. use floor() instead. This also fixes a wrong sign of zero returned with non-default rounding directions.
2004-07-10lib/24252: Add C99 functions round(3) and roundf(3).junyoung
libm minor unchanged; ride a recent bump. From FreeBSD.