Cover many more ops

(cherry picked from commit 3dbaae79cd4aa37724fb8969bbf595180e152f3e)
This commit is contained in:
Octavia Togami
2020-02-25 16:35:43 -08:00
committed by MattBDev
parent a464bde43b
commit 0e4a206f72
2 changed files with 78 additions and 2 deletions

View File

@ -462,8 +462,6 @@ class CompilingVisitor extends ExpressionBaseVisitor<MethodHandle> {
return (l, r) -> ExpressionHandles.boolToDouble(l != r);
case NEAR:
return (l, r) -> ExpressionHandles.boolToDouble(almostEqual2sComplement(l, r));
case GREATER_THAN_OR_EQUAL:
return (l, r) -> ExpressionHandles.boolToDouble(l >= r);
}
throw ExpressionHelper.evalException(ctx, "Invalid text for equality expr: " + ctx.op.getText());
});