Basis entryBasics.ceiling
Tests (4)
- elm-core / CeilingToIntTest`ceiling` rounds a `Float` up to an `Int`: `ceiling 2.3` is 3 and `ceiling -2.7` is -2.
- elm-core / FloatCeilingTest`ceiling` rounds a `Float` up towards positive infinity, for positive, whole and negative values.
- elm-core / StandardA44RoundNonFiniteTest`round`, `floor` and `ceiling` of NaN are `0`, and of an infinity an Int.
- elm-core / StandardA45IntNegativeZeroTestInt has one zero: no Int operation gives a negative zero.
Discussions
Discuss this basis entry·Search the discussions on GitHub
Discussions are on GitHub; one about this basis entry has [b:Basics.ceiling] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.