numbers in scarpet better handle long type values.
If possible, numbers that can be represented as longs (seeds, etc) will be handled as longs but they will loose their longinness with a single arithmetic operation.
This commit is contained in:
1 parent
bc9f3e89e0
commit
968ef0cd9f
8 files changed
+87
-24
No files matched your search
@@ -120,7 +120,7 @@ public class FunctionValue extends Value implements Fluff.ILazyFunction
|
||||
}
|
||||
|
||||
@Override
|
||||
public double readNumber()
|
||||
public double readDoubleNumber()
|
||||
{
|
||||
throw new InternalExpressionException("Function value has no numeric value");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user