The java.lang.Math class in Java 6 has also been enhanced with the following new methods:
public static int getExponent (float f) public static double copySign (double magnitude, double sign) public static float copySign (float magnitude, float sign) public static double nextAfter (double start, double direction) public static double nextUp (double d) public static double scalb (double d, int scaleFactor)