CPXRES does not auto set anymore
The automatic change to CPXRES does not work anymore.
Is this intended, or a bug?
Example:
[g] [RESET]
[f] [REALRE]
1 [CC] 1 [ENTER]
-1 [SQRT]
The above example works in the emulator compiled on 2019-10-19 but not in the emulator compiled today.
I think this may be because the case ITM_ENTER from line 834 in bufferize.c is not running anymore, due to the addition of fnEnter() in registers.c which prevents it.
case ITM_ENTER :
done = true;
closeNim();
if(calcMode != CM_NIM && lastErrorCode == 0) {
if(nimNumberPart == NP_COMPLEX_INT_PART || nimNumberPart == NP_COMPLEX_FLOAT_PART || nimNumberPart == NP_COMPLEX_EXPONENT) {
fnSetFlag(FLAG_CPXRES);
}
...