Tie up some loose ends, implementing methods that are useful but not yet implemented.

This commit is contained in:
Eric Scharff
2007-09-28 11:38:58 -06:00
parent 5691ec87f0
commit 43a2cb7cc5
4 changed files with 20 additions and 8 deletions

View File

@ -62,10 +62,7 @@ public final class Math {
return (int) Math.floor(v + 0.5);
}
public static double random() {
// TODO
throw new UnsupportedOperationException();
}
public static native double random();
public static native double floor(double v);