Anonymous user
Real constants and functions: Difference between revisions
→{{header|Elm}}: Add, referencing http://package.elm-lang.org/packages/elm-lang/core/3.0.0/Basics
m (Putting Elm in alphabetical order) |
(→{{header|Elm}}: Add, referencing http://package.elm-lang.org/packages/elm-lang/core/3.0.0/Basics) |
||
Line 483:
=={{header|Elm}}==
The following are all in the Basics module, which is imported by default:
<lang elm>e -- e
pi -- pi
sqrt x -- square root
logBase 3 9 -- logarithm (any base)
e^x -- exponential
abs x -- absolute value
floor x -- floor
ceiling x -- ceiling
2 ^ 3 -- power</lang>
=={{header|Erlang}}==
|