Skip to content

Commit

Permalink
fix: strict math
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Dec 12, 2024
1 parent da65dc5 commit f6e5ad5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public void evalMulti(double[] res, int[] x, int[] y, int[] z, EvalType type) {
}
}

@Override
public boolean canSwapOperandsSafely() {
return false;
}

@Override
public void doBytecodeGenSingle(BytecodeGen.Context context, InstructionAdapter m, BytecodeGen.Context.LocalVarConsumer localVarConsumer) {
super.doBytecodeGenSingle(context, m, localVarConsumer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public void evalMulti(double[] res, int[] x, int[] y, int[] z, EvalType type) {
}
}

@Override
public boolean canSwapOperandsSafely() {
return false;
}

@Override
public void doBytecodeGenSingle(BytecodeGen.Context context, InstructionAdapter m, BytecodeGen.Context.LocalVarConsumer localVarConsumer) {
super.doBytecodeGenSingle(context, m, localVarConsumer);
Expand Down

0 comments on commit f6e5ad5

Please sign in to comment.