10 lines
346 B
Text
10 lines
346 B
Text
Float.pi (* pi *)
|
|
sqrt x (* square root *)
|
|
log x (* natural logarithm--log base 10 also available (log10) *)
|
|
exp x (* exponential *)
|
|
abs_float x (* absolute value *)
|
|
abs x (* absolute value (for integers) *)
|
|
floor x (* floor *)
|
|
ceil x (* ceiling *)
|
|
x ** y (* power *)
|
|
-. x (* negation for floats *)
|