Commit Graph

24 Commits

Author SHA1 Message Date
Jeff Wang
4b87ad27c8 speed up division 2019-05-01 01:11:25 -04:00
Jeff Wang
fcf16153f6 change exponent from int16_t to int8_t to free up some space 2019-04-05 02:39:09 -04:00
Jeff Wang
20946c44d4 detect division by 0 2019-04-05 01:07:42 -04:00
Jeff Wang
ef298cddd0 fix crash when displaying numbers between [0.1, 1) 2019-04-05 00:52:56 -04:00
Jeff Wang
8af9701e15 bugfix for entering numbers such as 0.33
this is a partial revert of commit 8550049335
2019-04-04 03:36:35 -04:00
Jeff Wang
8550049335 fix bug for entering numbers such as 0.01 2019-04-04 02:29:11 -04:00
Jeff Wang
fc6d8efc5f work on Qt GUI, still not working properly 2019-04-04 00:33:42 -04:00
Jeff Wang
1be980d85b fix reciprocol convergence 2019-04-02 23:57:28 -04:00
Jeff Wang
8aec2ae134 fix exponent display 2019-04-01 01:12:02 -04:00
Jeff Wang
4ed3d1654e various bugfixes for decn arithmetic 2019-03-31 19:37:55 -04:00
Jeff Wang
43edb291cf attempt to reduce space usage
- remove unecessary code
- ifdef "extra" code
- pass data through globals instead of functions accessing static data
- functions non-reentrant, locate tmps in xdata
2019-03-31 19:37:52 -04:00
Jeff Wang
bdecc32b86 use global Buf everywhere for debugging 2019-03-28 00:41:54 -04:00
Jeff Wang
91b7b82462 add normal number display, number display bug fixes 2019-03-28 00:34:41 -04:00
Jeff Wang
4405ee7c8f division 2019-03-27 05:23:26 -04:00
Jeff Wang
b3c73cbdb5 style fixes 2019-03-27 05:22:47 -04:00
Jeff Wang
116b6ed2e6 bugfixes for multiply 2019-03-27 05:22:21 -04:00
Jeff Wang
0ba2ca7710 bugfixes for addition/subtraction 2019-03-27 05:22:19 -04:00
Jeff Wang
a742bb2059 separate out set_exponent function 2019-03-27 05:17:32 -04:00
Jeff Wang
14251c91cb multiplication 2019-03-27 03:53:18 -04:00
Jeff Wang
d2faa41dd5 bugfixes for addition/subtraction 2019-03-26 04:45:09 -04:00
Jeff Wang
72becb60a7 check result value equal to zero 2019-03-26 04:44:25 -04:00
Jeff Wang
c6ac8f5c5c subtraction 2019-03-26 03:35:49 -04:00
Jeff Wang
ad9a9f55ad change to base-100 with implicit decimal point
- addition working for test case
2019-03-26 02:38:56 -04:00
Jeff Wang
d351995294 initial decimal number code, needs work
- need to change to have implicit decimal point after first digit
- need to rework for code size
2019-03-22 16:38:35 -04:00