Revert "Prefer standard library float methods."

This reverts commit 4043929c320cfa53c63ebe807a7ec947cd184470.
The std::lrintf methods are only available for C++11. Sorry about that.