xo-expression: + operator >=

This commit is contained in:
Roland Conybeare 2025-07-27 18:57:48 -04:00
commit 7d220ede27
5 changed files with 43 additions and 3 deletions

View file

@ -43,7 +43,9 @@ namespace xo {
/** create apply-expression for greater-than comparison of two 64-bit integers **/
static rp<Apply> make_cmp_gt_i64(const rp<Expression> & lhs,
const rp<Expression> & rhs);
/** create apply-expression for greater-than-or-equal comparison of two 64-bit integers **/
static rp<Apply> make_cmp_ge_i64(const rp<Expression> & lhs,
const rp<Expression> & rhs);
/** create apply-expression to add two 64-bit integers **/
static rp<Apply> make_add2_i64(const rp<Expression> & lhs,
const rp<Expression> & rhs);

View file

@ -210,6 +210,8 @@ namespace xo {
static rp<PrimitiveType> make_cmp_le2_i64();
/** gt2_i64: compare two 64-bit integers for greaterthan **/
static rp<PrimitiveType> make_cmp_gt2_i64();
/** ge2_i64: compare two 64-bit integers for greaterthan **/
static rp<PrimitiveType> make_cmp_ge2_i64();
};
/** builtin primitives :: i64 x i64 -> i64 **/