Skip to main content

Module binary

Module binary 

Source
Expand description

Binary operator type checking.

ยงRules

OperatorLeft / RightResult
+ - * /int + intint
+ - * /float + floatfloat
+ - * /byte + bytebyte
+ - * /byte + int (or int + byte)int
< > <= >=int/byte pairsbool
< > <= >=float + floatbool
== !=matching primitive typesbool

Any side being Unknown short-circuits to Unknown to suppress cascading errors.