Community
Participate
Working Groups
These test variations work in RBD. program driver type BasicProgram {} function main() localInt bigInt = 3; localInt **= 3; if (localInt == 27) syslib.writestdout("works"); else syslib.writestdout("fails"); end localInt2 bigInt = 3; operand smallInt = 3; localInt2 **= operand; if (localInt2 == 27) syslib.writestdout("works"); else syslib.writestdout("fails"); end end end getting this error Cannot cast from Double to long on these lines of Java localInt = (long)((EBigint.power(localInt, (long)((short) 3)))); localInt2 = (long)((EBigint.power(localInt2, (long)(operand))));
fixed
verified with 201110302101 & closed