elixir-lang/elixir — pull request #2518 by nurugger07 (2014-07-11 15:22:32+00:00)
Title: Float rounding modifications

Float.ceil/1 and Float.floor/1 no longer accepts integers. They now accept a precision argument that defaults to 0 (as in round/2) and always return floats. The documentation of `Float.round/2` was updated to cover the use of `Kernel.round/1` which accepts both integers and floats, always returns integers and is allowed in guards.