Tests (6)
- elm / InfixPrecMulOverAddTest`*` (precedence 7) binds more tightly than `+` (precedence 6).
- elm / InfixPrecPowOverMulTest`^` (precedence 8) binds more tightly than `*` (precedence 7).
- elm-core / FloatMulTestFloat multiplication gives the expected sign and value for positive, mixed-sign, two negative and zero operands.
- elm-core / IntMulTestChecks integer multiplication `*` with positive, mixed-sign, two negative and zero operands.
- elm-core / StandardA40IntOverflowTestInt `+`, `-` and `*` give an Int, never an infinity or NaN, however large the exact result.
- 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.mul] 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.