| Summary: | JavaCompile errors using **= operator with bigINT | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed verified with 201110302101 & closed |
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))));