Jump to content

Real constants and functions: Difference between revisions

m
(Add min)
Line 1,753:
=={{header|OCaml}}==
Unless otherwise noted, the following functions are for floats only:
<lang ocaml>sqrt x Float.pi (* square rootpi *)
sqrt x (* square root *)
log x (* natural logarithm--log base 10 also available (log10) *)
exp x (* exponential *)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.