|
I've started working on Math.jack and implemented all of the functions. However, the last test fails, namely
let r[13] = Math.abs(-32767); // 32767
I tried to debug it, and I found that it I can't negate a number bigger than 24575.
A simple line like
do Output.printInt(-24575);
throws an error "Stack overflow in Math.multiply.14"..
What could be the cause?
|