Navigation
Synopsis Greater than operator on numeric values.
Syntax Exp1 > Exp2
Types
Exp1 Exp2 Exp1 > Exp2
int int bool
int real bool
real real bool
Description Yields true if the value of Exp1 is numerically greater than the value of Exp2, and false otherwise.
Examples
rascal>13 > 12
bool: true
rascal>12 > 13
bool: false
rascal>13.5 > 12
bool: true
rascal>12.5 > 13
bool: false

Questions
Question [1].
The type of 8 > -12 is

Question [2].
The type of -11.89913320830001880 > -10.4809513235052920 is

Question [3].
The type of 12.1357452660708160 > -13.96285692944999360 is

Question [4].
The type of -9 > -14.47228407342948680 is

Question [5].
1 > 17 == 



Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.