Skip to content

Commit

Permalink
Add some more additional functions to the shim
Browse files Browse the repository at this point in the history
They are all needed now due to the stdsimd update.
  • Loading branch information
est31 committed Jul 2, 2018
1 parent 563dacd commit 56e4625
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/etc/wasm32-shim.js
Expand Up @@ -107,6 +107,10 @@ imports.env = {
exp2f: function(x) { return Math.pow(2, x); },
ldexp: function(x, y) { return x * Math.pow(2, y); },
ldexpf: function(x, y) { return x * Math.pow(2, y); },
sin: Math.sin,
sinf: Math.sin,
cos: Math.cos,
cosf: Math.cos,
log: Math.log,
log2: Math.log2,
log10: Math.log10,
Expand Down

0 comments on commit 56e4625

Please sign in to comment.