Real constants and functions: Difference between revisions
Content added Content deleted
(Logo) |
|||
Line 129: | Line 129: | ||
pow x y -- power |
pow x y -- power |
||
</pre> |
</pre> |
||
=={{header|Logo}}== |
|||
{{works with|UCBLogo}} |
|||
make "e exp 1 |
|||
make "pi 2*(RADARCTAN 0 1) |
|||
sqrt :x |
|||
ln :x |
|||
exp :x |
|||
; there is no standard abs, floor, or ceiling; only INT and ROUND. |
|||
power :x :y |
|||
=={{header|OCaml}}== |
=={{header|OCaml}}== |