class Test
{
public static void main(String[] args)
{
int i = 135;
byte b = (byte)i;
System.out.println(b);
}
}
output: -121 my question is how compiler is doing the round off what formula it is following internally?