summaryrefslogtreecommitdiff
path: root/src/settings.sml
diff options
context:
space:
mode:
authorGravatar Karen Sargsyan <karsar@ibms.sinica.edu.tw>2016-05-21 18:00:59 +0800
committerGravatar Karen Sargsyan <karsar@ibms.sinica.edu.tw>2016-05-21 18:00:59 +0800
commit22527df1714c83e968913dabba4ba3ec81adc20c (patch)
tree9dafbbb36b0d25200b70a92e1aca8f6f0ae2f583 /src/settings.sml
parent02724f709fcafa9f4e854c271df6c2f79fd9cfa6 (diff)
Some basic math functions: pow, sqrt, sin, cos, log, exp are added to work at client and server sides
Diffstat (limited to 'src/settings.sml')
-rw-r--r--src/settings.sml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/settings.sml b/src/settings.sml
index 85cab207..c0b5e0e6 100644
--- a/src/settings.sml
+++ b/src/settings.sml
@@ -336,6 +336,14 @@ val jsFuncsBase = basisM [("alert", "alert"),
("trunc", "trunc"),
("round", "round"),
+ ("pow", "pow"),
+ ("sqrt", "sqrt"),
+ ("sin", "sin"),
+ ("cos", "cos"),
+ ("log", "log"),
+ ("exp", "exp"),
+
+
("now", "now"),
("timeToString", "showTime"),
("htmlifyTime", "showTimeHtml"),