Skip to content

Commit 56e4625

Browse files
committed
Add some more additional functions to the shim
They are all needed now due to the stdsimd update.
1 parent 563dacd commit 56e4625

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/etc/wasm32-shim.js

+4
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ imports.env = {
107107
exp2f: function(x) { return Math.pow(2, x); },
108108
ldexp: function(x, y) { return x * Math.pow(2, y); },
109109
ldexpf: function(x, y) { return x * Math.pow(2, y); },
110+
sin: Math.sin,
111+
sinf: Math.sin,
112+
cos: Math.cos,
113+
cosf: Math.cos,
110114
log: Math.log,
111115
log2: Math.log2,
112116
log10: Math.log10,

0 commit comments

Comments
 (0)