diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-10-08 17:23:58 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-10-08 17:23:58 -0400 |
commit | ff119b6f75734c94df9f86cda58e95e1b6506705 (patch) | |
tree | af5545a16e8c2d7f65737c161285cf78b8ed2d43 /src/settings.sml | |
parent | 47ed9101fdb70e576c6cfbebce06ca78b6d7b973 (diff) |
Primitive int/float functions: ceil, float, round, trunc
Diffstat (limited to 'src/settings.sml')
-rw-r--r-- | src/settings.sml | 5 |
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"), |