diff --git a/crates/cli-support/src/js/mod.rs b/crates/cli-support/src/js/mod.rs index e6e2adce264..c86b4e7b100 100644 --- a/crates/cli-support/src/js/mod.rs +++ b/crates/cli-support/src/js/mod.rs @@ -748,28 +748,6 @@ impl<'a> Context<'a> { "Math_sinh" => bind_math("(x) { return Math.sinh(x); }"), "Math_tan" => bind_math("(x) { return Math.tan(x); }"), "Math_tanh" => bind_math("(x) { return Math.tanh(x); }"), - "cos" => bind_math("(x) { return Math.cos(x); }"), - "cosf" => bind_math("(x) { return Math.cos(x); }"), - "exp" => bind_math("(x) { return Math.exp(x); }"), - "expf" => bind_math("(x) { return Math.exp(x); }"), - "log2" => bind_math("(x) { return Math.log2(x); }"), - "log2f" => bind_math("(x) { return Math.log2(x); }"), - "log10" => bind_math("(x) { return Math.log10(x); }"), - "log10f" => bind_math("(x) { return Math.log10(x); }"), - "log" => bind_math("(x) { return Math.log(x); }"), - "logf" => bind_math("(x) { return Math.log(x); }"), - "round" => bind_math("(x) { return Math.round(x); }"), - "roundf" => bind_math("(x) { return Math.round(x); }"), - "sin" => bind_math("(x) { return Math.sin(x); }"), - "sinf" => bind_math("(x) { return Math.sin(x); }"), - "pow" => bind_math("(x, y) { return Math.pow(x, y); }"), - "powf" => bind_math("(x, y) { return Math.pow(x, y); }"), - "exp2" => bind_math("(a) { return Math.pow(2, a); }"), - "exp2f" => bind_math("(a) { return Math.pow(2, a); }"), - "fmod" => bind_math("(a, b) { return a % b; }"), - "fmodf" => bind_math("(a, b) { return a % b; }"), - "fma" => bind_math("(a, b, c) { return (a * b) + c; }"), - "fmaf" => bind_math("(a, b, c) { return (a * b) + c; }"), _ => continue, }