Mercurial > urweb
comparison lib/js/urweb.js @ 2110:9e9c915f554c
A new MonoReduce optimization for lifting 'let' out of field projection; JavaScript compilation for exponentiation
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 01 Feb 2015 12:29:14 -0500 |
parents | 9272476e2a1c |
children | f89be9cd2087 |
comparison
equal
deleted
inserted
replaced
2109:f42fea631c1d | 2110:9e9c915f554c |
---|---|
108 return Math.ceil(n); | 108 return Math.ceil(n); |
109 } | 109 } |
110 | 110 |
111 function round(n) { | 111 function round(n) { |
112 return Math.round(n); | 112 return Math.round(n); |
113 } | |
114 | |
115 function pow(n, m) { | |
116 return Math.pow(n, m); | |
113 } | 117 } |
114 | 118 |
115 | 119 |
116 // Time, represented as counts of microseconds since the epoch | 120 // Time, represented as counts of microseconds since the epoch |
117 | 121 |