Misc · Numbers: a calculator and a unit converter

misc::Calculator works a typed sum in forms::evaluate's precedence,
from a pad or the keyboard; Enter is equals while the calculator
itself has focus, and Escape clears or passes on. misc::UnitConverter
reads an amount in another unit across seven kinds, with a swap.
Both show numbers through format::significant, which rounds through
Rust's exponent form.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-28 00:41:49 -04:00
1 parent d1345cd14e
commit 73f3399cea
13 files changed
+1023 -7

No files matched your search

+2 -2
View File
@@ -315,8 +315,8 @@
## T42b Misc · Numbers
- [ ] Calculator
- [ ] UnitConverter
- [x] Calculator → `misc::Calculator`: digits, the four operations in precedence through `forms::evaluate`, sign, delete and clear, twelve significant digits; keys type too, and Enter gives the result while the calculator itself has focus
- [x] UnitConverter → `misc::UnitConverter`: length, area, volume, mass, temperature, speed and data, each on a starting pair, with a swap; six significant digits
## T42c Misc · Codes and checks