diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-02-01 12:29:14 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-02-01 12:29:14 -0500 |
commit | eab0e09b2b4d125abb98e088ff9a03581aa05717 (patch) | |
tree | df37df1329c579861b6337d2de241d67084f9618 /lib | |
parent | 2200a9e67a5e280406f55048dc03b5a8fd51d642 (diff) |
A new MonoReduce optimization for lifting 'let' out of field projection; JavaScript compilation for exponentiation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/js/urweb.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index df9097b1..3bf21dd2 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -112,6 +112,10 @@ function round(n) { return Math.round(n); } +function pow(n, m) { + return Math.pow(n, m); +} + // Time, represented as counts of microseconds since the epoch |