Faster floor/ceil/round methods

May not handle NaN or infinity properly.