mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Fix typo for pow in runtime.js
This commit is contained in:
Vendored
+1
-1
@@ -1340,7 +1340,7 @@ function odinSetupDefaultImports(wasmMemoryInterface, consoleElement) {
|
|||||||
sqrt: (x) => Math.sqrt(x),
|
sqrt: (x) => Math.sqrt(x),
|
||||||
sin: (x) => Math.sin(x),
|
sin: (x) => Math.sin(x),
|
||||||
cos: (x) => Math.cos(x),
|
cos: (x) => Math.cos(x),
|
||||||
pow: (x) => Math.pow(x),
|
pow: (x, power) => Math.pow(x, power),
|
||||||
fmuladd: (x, y, z) => x*y + z,
|
fmuladd: (x, y, z) => x*y + z,
|
||||||
ln: (x) => Math.log(x),
|
ln: (x) => Math.log(x),
|
||||||
exp: (x) => Math.exp(x),
|
exp: (x) => Math.exp(x),
|
||||||
|
|||||||
Reference in New Issue
Block a user