Add some more additional functions to the shim
They are all needed now due to the stdsimd update.
This commit is contained in:
parent
563dacd648
commit
56e46255b3
|
@ -107,6 +107,10 @@ imports.env = {
|
||||||
exp2f: function(x) { return Math.pow(2, x); },
|
exp2f: function(x) { return Math.pow(2, x); },
|
||||||
ldexp: function(x, y) { return x * Math.pow(2, y); },
|
ldexp: function(x, y) { return x * Math.pow(2, y); },
|
||||||
ldexpf: 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,
|
log: Math.log,
|
||||||
log2: Math.log2,
|
log2: Math.log2,
|
||||||
log10: Math.log10,
|
log10: Math.log10,
|
||||||
|
|
Loading…
Reference in New Issue