Skip to content

Commit a1dce82

Browse files
author
linzhijun
committed
删除无效代码
1 parent 934f5d5 commit a1dce82

File tree

1 file changed

+0
-11
lines changed
  • java/toolgood.algorithm/src/main/java/toolgood/algorithm/internals

1 file changed

+0
-11
lines changed

java/toolgood.algorithm/src/main/java/toolgood/algorithm/internals/MathVisitor.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -365,17 +365,6 @@ public Operand visitJudge_fun(final Judge_funContext context) {
365365
return Operand.Create(r != 0);
366366
}
367367

368-
private int Compare(final double t1, final double t2) {
369-
370-
final double b = round(t1 - t2, 12);
371-
if (b == 0) {
372-
return 0;
373-
} else if (b > 0) {
374-
return 1;
375-
}
376-
return -1;
377-
}
378-
379368
public Operand visitAndOr_fun(final AndOr_funContext context) {
380369
// 程序 && and || or 与 excel的 AND(x,y) OR(x,y) 有区别
381370
// 在excel内 AND(x,y) OR(x,y) 先报错,

0 commit comments

Comments
 (0)