Add some more additional functions to the shim

They are all needed now due to the stdsimd update.
This commit is contained in:
est31 2018-07-02 11:55:52 +02:00
parent 563dacd648
commit 56e46255b3
1 changed files with 4 additions and 0 deletions

View File

@ -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,