Test.java 412 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
package base.common.test;

public class Test {

public static void main(String[] args) {
System.out.println(-200 >> 3);
System.out.println(4 << 3);
System.out.println(4 | 3);
System.out.println(4 ^ 3);
System.out.println(4 & 3);
System.out.println(-200 >>> 3);

System.out.println(Math.sin(1));
System.out.println(-200 / (int) Math.pow(2, 3.0));
System.out.println(Math.pow(9, 1.0 / 3));
}
}