Real constants and functions: Difference between revisions

m
(→‎{{header|BASIC}}: Added ANSI BASIC.)
 
Line 3,364:
 
=={{header|Standard ML}}==
<syntaxhighlight lang="sml">Math.e; (* e *)
Math.pi; (* pi *)
(* Math.sqrttau x;also (*available in squaresome rootimplementations *)
Math.expsqrt x; (* exponentialsquare root *)
Math.ln x; (* natural logarithm--log base 10 also available (Math.log10) *)
Math.exp x; (* exponential *)
absMath.exp x; (* absolute valueexponential *)
floorabs x; (* floorabsolute value *)
ceilfloor x; (* ceilingfloor *)
Math.powceil (x, y); (* powerceiling *)
Math.pow (x, y) (* power *)
~ x; (* negation *)</syntaxhighlight>
 
=={{header|Stata}}==
23

edits