Tests (4)
- elm / InfixAssocLeftArithTest`-`, `/` and `//` associate to the left.
- elm-core / BasicsIsNaNTest`isNaN` is true for `0 / 0` and false for 42.0, and `isInfinite` is true for `1 / 0` and false for 42.0.
- elm-core / FloatDivTest`/` on `Float` values for each combination of signs of the dividend and divisor.
- elm-core / FloatNegativeZeroTestNegative zero (`-0.0`) equals 0.0, and dividing 1.0 by it gives -Infinity while dividing by 0.0 gives Infinity.
Discussions
Discuss this basis entry·Search the discussions on GitHub
Discussions are on GitHub; one about this basis entry has [b:Basics.fdiv] 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.