You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compare said ELong variable with an ELong constant.
In my example, substrateNode.residualCpu is an ELong and I want to check if it is greater than 0:
Possible feature requests:
Implement a language feature to express (E)Longs in GT rules/patterns, e.g.: # substrateNode.residualCpu > 0l
Implement a feature for the backend, that compatible data types can be "casted" automatically. This would allow comparing, e.g., ELongs with EInts: # substrateNode.residualCpu > 0
IMO is 2. the preferred solution as this is how it is handled in Java.
The text was updated successfully, but these errors were encountered:
Currently, it is not possible to either:
ELong
variable with anEInt
ELong
variable with anELong
constant.In my example,
substrateNode.residualCpu
is anELong
and I want to check if it is greater than 0:Possible feature requests:
(E)Long
s in GT rules/patterns, e.g.:# substrateNode.residualCpu > 0l
ELong
s withEInt
s:# substrateNode.residualCpu > 0
IMO is 2. the preferred solution as this is how it is handled in Java.
The text was updated successfully, but these errors were encountered: