xo-reader2: + op> support
This commit is contained in:
parent
1b4d5744d2
commit
c500a98722
11 changed files with 78 additions and 7 deletions
|
|
@ -75,6 +75,14 @@ namespace xo {
|
|||
x->value() <= y->value());
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
FloatOps::cmp_greater(obj<ARuntimeContext> rcx,
|
||||
DFloat * x, DFloat * y)
|
||||
{
|
||||
return DBoolean::box<AGCObject>(rcx.allocator(),
|
||||
x->value() > y->value());
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
FloatOps::cmp_greatequal(obj<ARuntimeContext> rcx,
|
||||
DFloat * x, DFloat * y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue