xo-reader2: + op> support
This commit is contained in:
parent
1b4d5744d2
commit
c500a98722
11 changed files with 78 additions and 7 deletions
|
|
@ -162,13 +162,25 @@ namespace xo {
|
|||
x, y);
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
NumericDispatch::cmp_greater(obj<ARuntimeContext> rcx,
|
||||
obj<AGCObject> x,
|
||||
obj<AGCObject> y)
|
||||
{
|
||||
return dispatch(rcx,
|
||||
"NumericDispatch::cmp_greater",
|
||||
"incomparable types in x>y",
|
||||
&AnonymizedNumericOps::cmpgt_,
|
||||
x, y);
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
NumericDispatch::cmp_greatequal(obj<ARuntimeContext> rcx,
|
||||
obj<AGCObject> x,
|
||||
obj<AGCObject> y)
|
||||
{
|
||||
return dispatch(rcx,
|
||||
"NumericDispatch::cmp_great",
|
||||
"NumericDispatch::cmp_greatequal",
|
||||
"incomparable types in x>=y",
|
||||
&AnonymizedNumericOps::cmpge_,
|
||||
x, y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue