view test/runtime/6929067/T.java @ 10038:9645cfaffc62

CodeUtil.isPowerOf2 should not return true for Integer/Long.MIN_VALUE. CodeUtil.log2 should work even for numbers that are not powers of 2
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 14 Jun 2013 11:16:08 +0200
parents 3b3d12e645e7
children
line wrap: on
line source

public class T
{
  public static boolean foo(boolean bar)
  {
    return bar;
  }

  public static void printIt()
  {
    System.out.println("Hello");
  }
}