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:
2026-06-13 16:13:48 -06:00
committed by Tanner
co-authored by aider
parent e8a361210d
commit 77288c92af
-6
View File
@@ -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 {