blob: 4d91ae752d1a4d8c233af6df82647ef596addfab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
- Handle floating point exceptions, e.g. div by zero. See
https://wiki.sei.cmu.edu/confluence/display/c/FLP03-C.+Detect+and+handle+floating-point+errors
and man pages fetestexcept(3) and math_error(7).
- On startup, the value is read from the config file... but it can't
be used as an argument to a binary op (only a unary one) if it's
more than one digit. Except sometimes it can. Investigate and fix.
- Cleaner way of switching window sizes at runtime.
- Better handling of divide-by-zero (why an f? why not e for error?)
- Reindent the code (it's a confusing mess of tabs and spaces), and
reformat it to my personal style.
- Make it play nicer with tiling WMs. If possible, anyway: echinus
doesn't try to tile it (which is correct, since it won't resize).
Try some others. Low priority.
- Long range possibility: rewrite the display/input stuff to use SDL2,
so we can scale arbitrarily. Probably this would mean it'd work on
Wayland too, though I don't much care about that.
- Find a real TI Programmer II calculator somewhere and compare.
Probably there's room for a more accurate (si|e)mulation.
|