Navigation
Synopsis Not equal 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 both arguments is numerically unequal, and false otherwise.
Examples
rascal>12 != 13
bool: true
rascal>12 != 12
bool: false
rascal>12 != 13.0
bool: true
rascal>12.0 != 13
bool: true
rascal>3.14 != 3
bool: true
rascal>3.14 != 3.14
bool: false

Questions
Question [1].
The type of -13 != 6 is

Question [2].
The type of -11.1475347367103120 != 10.213132675593160 is

Question [3].
The type of -5 != 4 is

Question [4].
The type of -4.6591203400727520 != -8 is

Question [5].
12 != 15 == 



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.