floorf() is not used, and causes warnings on Solaris