Skip to content

Commit 8fa9bfe

Browse files
committed
Auto merge of rust-lang#51695 - est31:stdsimd_update, r=alexcrichton
Update stdsimd Closes rust-lang#51691
2 parents 0fb6e39 + 56e4625 commit 8fa9bfe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
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,

src/stdsimd

0 commit comments

Comments
 (0)