projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more new js api fixes and cleanup
[org.ibex.core.git]
/
src
/
org
/
ibex
/
js
/
JSNumber.java
diff --git
a/src/org/ibex/js/JSNumber.java
b/src/org/ibex/js/JSNumber.java
index
16c6836
..
8137cbc
100644
(file)
--- a/
src/org/ibex/js/JSNumber.java
+++ b/
src/org/ibex/js/JSNumber.java
@@
-27,8
+27,7
@@
abstract class JSNumber extends JSPrimitive {
boolean toBoolean() { return toInt() != 0; }
double toDouble() { return toLong(); }
float toFloat() { return (float) toDouble(); }
- // FIXME: Number functions
-
+
final static class I extends JSNumber {
final int i;
I(int i) { this.i = i; }