Basis entryBasics.min
Static basis
Dynamic basis
Its APPLY
Tests (5)
- elm / FloatEdgeTestFloat edge cases: `round` on halves, NaN in equality, `min` and `compare`, `truncate` of NaN, and an Int power beyond 2^32.
- elm-core / ComparableMinMaxTest`min` and `max` on `String` and `Char`, which order them by character code.
- elm-core / FloatMinMaxTest`min` and `max` on Floats pick the smaller and larger argument, including with a negative argument.
- elm-core / IntMinMaxTestChecks `min` and `max` on Int arguments, including a negative one.
- elm-core / StandardA48MinMaxNanTestFloat `min` and `max` are IEEE 754-2019 minimum and maximum, whatever the order of the arguments.
Discussions
Discuss this basis entry·Search the discussions on GitHub
Discussions are on GitHub; one about this basis entry has [b:Basics.min] 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.