diff --git a/pulley/src/interp.rs b/pulley/src/interp.rs index 5df690fd82f..821418cbf9a 100644 --- a/pulley/src/interp.rs +++ b/pulley/src/interp.rs @@ -2136,14 +2136,14 @@ impl OpVisitor for Interpreter<'_> { fn fcopysign32(&mut self, operands: BinaryOperands) -> ControlFlow { let a = self.state[operands.src1].get_f32(); let b = self.state[operands.src2].get_f32(); - self.state[operands.dst].set_f32(a.copysign(b)); + self.state[operands.dst].set_f32(a.wasm_copysign(b)); ControlFlow::Continue(()) } fn fcopysign64(&mut self, operands: BinaryOperands) -> ControlFlow { let a = self.state[operands.src1].get_f64(); let b = self.state[operands.src2].get_f64(); - self.state[operands.dst].set_f64(a.copysign(b)); + self.state[operands.dst].set_f64(a.wasm_copysign(b)); ControlFlow::Continue(()) }