add floor function from musl