Commit Graph

152 Commits

Author SHA1 Message Date
Mirko Scholz
13d26e7b75 simple trigonometric functions as in Sinclair scientific 2020-09-09 23:37:46 +02:00
Mirko Scholz
28243c267d enable address sanitizer for g++ 2020-09-09 19:06:49 +02:00
Mirko Scholz
a491ab0461 print the maximal stack pointer value when pressing shift 2020-09-09 09:40:26 +02:00
Mirko Scholz
2a9801e676 superfluous 2020-09-09 08:47:51 +02:00
Mirko Scholz
4316f928f8 added facility to debug the stack pointer on P3_4 (LCD LED cathode)
roughly 139 bytes
functions were chosen by manually traversing pow_decn to the bottom
2020-09-08 23:46:41 +02:00
Mirko Scholz
7593260487 freed some space for the stack 2020-09-08 16:57:25 +02:00
Mirko Scholz
3f7dfe460b declaration exists already in decn.h 2020-09-08 16:56:50 +02:00
Jeff Wang
6147b39ffc v1.10: handle special cases for power, extra checks in multiply for Error 2020-09-07 23:14:04 -04:00
jjj11x
7a733cea0b
Merge pull request #1 from srtlg/development-compile-sdcc350
- fixes build with sdcc 3.5.0
- adds a few more checks for special cases, and prevents some operations on `Error`
2020-09-07 23:10:24 -04:00
jjj11x
0add7eb813
bump version 2020-09-07 23:05:31 -04:00
Mirko Scholz
be1033274a remove unused definitions
(the sanitizer does not work like this, it would need also linker flags)
2020-09-05 11:01:04 +02:00
Mirko Scholz
96f70c9474 use debug per default 2020-09-05 10:55:54 +02:00
Mirko Scholz
51c2d2e2e7 handle truncation in entering numbers properly 2020-09-05 10:55:33 +02:00
Mirko Scholz
6ab4cfb714 extra checks for multiply 2020-09-05 10:35:45 +02:00
Mirko Scholz
6487fbde6e move constants out of the header
(as far as my C knowledge goes, this may cause problems with the linker)
2020-09-05 10:25:35 +02:00
Mirko Scholz
1075e6d103 truly take advantage of __code pointer 2020-09-05 09:59:08 +02:00
Mirko Scholz
c18c0dabfd handle special cases for power function 2020-09-05 01:08:09 +02:00
Mirko Scholz
5ea2818fe3 move pow_decn from header to source file 2020-09-05 00:18:47 +02:00
Mirko Scholz
1fb0a1fd50 row/col should be always less than 16 2020-09-04 23:02:46 +02:00
Mirko Scholz
a8cf1a881b put two flags into bit addressable ram 2020-09-04 22:55:16 +02:00
Mirko Scholz
fb76fac249 move VER_STR into flash 2020-09-04 22:23:35 +02:00
Mirko Scholz
9464360014 compiles under gcc 10 2020-09-04 21:16:46 +02:00
Mirko Scholz
ae9beb120a handle common install paths for catch.hpp 2020-09-04 21:13:26 +02:00
Mirko Scholz
bb7deb53cb address cmake warning 2020-09-04 20:54:39 +02:00
Mirko Scholz
d3314a9de9 gcc 10 refuses to link otherwise 2020-09-04 20:48:09 +02:00
Mirko Scholz
eea645f401 compiles again under sdcc-3.5.0 2020-09-04 20:45:29 +02:00
Jeff Wang
fc0fe7c327 initial reciprocal square root prototyping 2019-12-11 02:27:27 -05:00
Jeff Wang
b04a95e420 increase test coverage 2019-11-20 01:54:04 -05:00
Jeff Wang
38c4e4678c update readme 2019-11-19 00:04:58 -05:00
Jeff Wang
218cb67ea7 more automated unit tests 2019-11-19 00:00:18 -05:00
Jeff Wang
e907f4571d start converting testbench to Catch unit tests 2019-11-18 04:30:20 -05:00
Jeff Wang
816c3d7ec6 update readme 2019-11-14 04:14:18 -05:00
Jeff Wang
d532f2cf44 put license notice in all files, use GPLv3+ 2019-11-14 03:45:52 -05:00
Jeff Wang
9402bd512f keyboard support for Qt GUI 2019-11-14 03:32:07 -05:00
Jeff Wang
f70510e46a use cmake everywhere for desktop build, fix build warnings 2019-11-14 02:44:07 -05:00
Jeff Wang
f25a71b74c v1.09: bugfix for taking log/ln of a number with an exponent of 99 2019-11-14 02:15:34 -05:00
Jeff Wang
47459f5253 v1.08 bugfix: make clearX actually clear X instead of just clearing number entry 2019-10-22 20:17:30 -04:00
Jeff Wang
fdda8feafb v1.07 various bug fixes 2019-10-22 02:24:06 -04:00
Jeff Wang
ada1102258 fix for LASTx/RCL behavior after operation
- previously "2 enter 3 * LASTx" would overwrite X instead of lifting
stack
2019-10-22 02:23:30 -04:00
Jeff Wang
56e3034f9d bugfix for exponents > 127 getting printed as negative 2019-10-22 02:13:29 -04:00
Jeff Wang
f7da807dd4 v1.06: STO/RCL/lastX, bugfix for sqrt(0), more checks for NaN/Error before operations 2019-10-22 01:09:32 -04:00
Jeff Wang
c3aa80289f fix square root of 0 bug 2019-10-22 01:07:28 -04:00
Jeff Wang
2816712d49 fix width and height of qt gui, update screenshot with STO/RCL/LastX/rotate 2019-10-21 02:36:57 -04:00
Jeff Wang
581a8e26f1 disallow subtraction/negation of error 2019-10-21 02:36:57 -04:00
Jeff Wang
c05a402b72 add STO, RCL, lastX, and rotate; do not require holding shift while
pressing 0 to turn off
2019-10-21 02:36:57 -04:00
jjj11x
f184c6dc18
update programming instructions in readme 2019-10-16 02:35:30 -04:00
Jeff Wang
74b287357c reorganize/edit readme 2019-10-10 01:12:47 -04:00
Jeff Wang
b5304f358e add smaller picture of calculator 2019-10-07 18:08:24 -04:00
Jeff Wang
73585be8bb update readme again 2019-10-07 03:51:28 -04:00
Jeff Wang
b18969fef0 update gui 2019-10-07 03:19:26 -04:00