diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2008-03-22 11:34:35 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2008-03-22 11:34:35 +0000 |
commit | 827c7e32c38da76d7ef41011666470cced391f49 (patch) | |
tree | 4082166f3cf37ee6323834e05f8e0d037b6a9f7b /src | |
parent | c0705fc670b40710d7dc22010c5d0b2a0c21e634 (diff) | |
download | scala-827c7e32c38da76d7ef41011666470cced391f49.tar.gz scala-827c7e32c38da76d7ef41011666470cced391f49.tar.bz2 scala-827c7e32c38da76d7ef41011666470cced391f49.zip |
Hopefully that fixes CLDC's incapacity to deal ...
Hopefully that fixes CLDC's incapacity to deal with floating points.
Diffstat (limited to 'src')
-rw-r--r-- | src/cldc-library/scala/runtime/BoxesRunTime.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cldc-library/scala/runtime/BoxesRunTime.java b/src/cldc-library/scala/runtime/BoxesRunTime.java index 9374f6bce6..bab4c63524 100644 --- a/src/cldc-library/scala/runtime/BoxesRunTime.java +++ b/src/cldc-library/scala/runtime/BoxesRunTime.java @@ -150,14 +150,6 @@ public class BoxesRunTime { return l == null ? 0 : ((Long)l).longValue(); } - public static float unboxToFloat(Object f) { - return f == null ? 0.0f : ((Float)f).floatValue(); - } - - public static double unboxToDouble(Object d) { - return d == null ? 0.0d : ((Double)d).doubleValue(); - } - /* public static boolean unboxToBoolean(Object b) { if (b == null) |