#
e44725a8 |
| 14-Oct-2021 |
kettenis <kettenis@openbsd.org> |
Replace lrint(3), lrintf(3), llrint(3) and llrintf(3) implementations with the same implementation that we're already using for lrintl(3) and llrintl(3). The old implementations were derived from cod
Replace lrint(3), lrintf(3), llrint(3) and llrintf(3) implementations with the same implementation that we're already using for lrintl(3) and llrintl(3). The old implementations were derived from code from NetBSD that didn't pass the lib/libm/msun/lrint_test regress test. NetBSD replaced their implementation with the FreeBSD implementation of this code which we were already using for lrintl(3) and llrintl(3). This fixes the regress test.
ok bluhm@, millert@
show more ...
|
#
49393c00 |
| 06-Jul-2011 |
martynas <martynas@openbsd.org> |
Finalize work on the math library. It's time to do this monster commit, and deal with problems (if any) in tree.
Note that this adds the following functions. Ports with hacks might need adjustment
Finalize work on the math library. It's time to do this monster commit, and deal with problems (if any) in tree.
Note that this adds the following functions. Ports with hacks might need adjustments.
nexttoward(3), fma(3), nexttowardf(3), fmaf(3), acoshl(3), asinhl(3), atanhl(3), coshl(3), sinhl(3), tanhl(3), expl(3), expm1l(3), logl(3), log10l(3), log1pl(3), log2l(3), modfl(3), cbrtl(3), hypotl(3), powl(3), erfl(3), erfcl(3), lgammal(3), tgammal(3), ceill(3), floorl(3), lrintl(3), llrintl(3), roundl(3), lroundl(3), llroundl(3), truncl(3), fmodl(3), remainderl(3), remquol(3), nextafterl(3), nexttowardl(3), fmal(3).
With this commit, our library implements all functionality required by C99. Documentation bits will follow.
show more ...
|