xo-numeric: + cmple for op<=
This commit is contained in:
parent
b69ec48d00
commit
1a60284861
12 changed files with 86 additions and 56 deletions
|
|
@ -62,6 +62,13 @@ namespace xo {
|
|||
return DBoolean::box<AGCObject>(rcx.allocator(), x->value() < y->value());
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
IntegerOps::cmp_lessequal(obj<ARuntimeContext> rcx,
|
||||
DInteger * x, DInteger * y)
|
||||
{
|
||||
return DBoolean::box<AGCObject>(rcx.allocator(), x->value() <= y->value());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue