HelenOS sources

root/uspace/lib/math/generic/

[..]
__fcompare.c __fpclassify.c __signbit.c cos.c fabs.c
fmod.c fmodf.c internal.h nearbyint.c round.c
sin.c sincos.c trig.c trunc.c
[..]
HelenOS homepage, sources at GitHub