fix: Prevent displayOutput from clearing state on Infinity/NaN
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -242,12 +242,6 @@ function displayOutput(num) {
|
||||
} else {
|
||||
num = 'NaN';
|
||||
}
|
||||
currNumber = null;
|
||||
results = null;
|
||||
isDecimal = false;
|
||||
hasPressedEquals = false;
|
||||
prevNumber = null;
|
||||
operator = null;
|
||||
specials.R.val = 'AC';
|
||||
if (!swipeEnabled) drawKey('R', specials.R);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user