summaryrefslogtreecommitdiff
path: root/src/settings.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-10-08 17:23:58 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-10-08 17:23:58 -0400
commit8b909d991fe993c711d432cfc9928dc7ffbdbbac (patch)
treeaf5545a16e8c2d7f65737c161285cf78b8ed2d43 /src/settings.sml
parent2b3bec54a0307652646f5ad9deff619b82cb5a91 (diff)
Primitive int/float functions: ceil, float, round, trunc
Diffstat (limited to 'src/settings.sml')
-rw-r--r--src/settings.sml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.sml b/src/settings.sml
index ab1d7f88..f7bb4027 100644
--- a/src/settings.sml
+++ b/src/settings.sml
@@ -270,6 +270,11 @@ val jsFuncsBase = basisM [("alert", "alert"),
("debug", "alert"),
("naughtyDebug", "alert"),
+ ("floatFromInt", "float"),
+ ("ceil", "ceil"),
+ ("trunc", "trunc"),
+ ("round", "round"),
+
("now", "now"),
("timeToString", "showTime"),
("htmlifyTime", "showTime"),