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