Commit Graph

191 Commits

Author SHA1 Message Date
Jeff Wang
25db3835e0 Merge branch 'jdw/degree_default' 2021-01-31 17:21:30 -05:00
Jeff Wang
78cb37bf54 whitespace only changes to readme
format as one sentence/phrase per line to make futuer diffs smaller
2021-01-30 22:38:41 -05:00
Jeff Wang
2a301e71a9 update readme (default degrees, update outdated stuff), bump version 2021-01-30 22:38:41 -05:00
Jeff Wang
380b90d434 resize/remove unused variables in lcd.c 2021-01-30 22:38:13 -05:00
Jeff Wang
774be02e1f use ->deg as default shifted function now that trig functions operate in degrees
(->rad is down-shifted function now)
2021-01-30 19:00:37 -05:00
Jeff Wang
5bcfb8a371 do all trig calculations in degrees 2021-01-30 18:45:44 -05:00
Jeff Wang
1e6d786482 Merge branch 'jjj11x/parallel_random_test'
add lots of random tests for decn library
2021-01-27 21:40:49 -05:00
Jeff Wang
c6ac1e5e2c add random tests for inverse trigonometric functions 2021-01-27 21:11:32 -05:00
Jeff Wang
f15790f252 add random sin/cos/tan trig tests (accuracy is fairly bad) 2020-12-10 22:54:45 -05:00
Jeff Wang
81253d8934 separate out tests into separate files 2020-10-26 22:16:26 -04:00
Jeff Wang
540d9e282c add random y^x tests 2020-10-19 21:36:18 -04:00
Jeff Wang
d3cddc1326 update readme 2020-10-13 22:11:03 -04:00
Jeff Wang
714cd69b9c add random exp() tests 2020-10-13 22:11:03 -04:00
Jeff Wang
46851eab9f use ctest to run unit tests in parallel (requires newer catch2) 2020-10-13 22:11:03 -04:00
Jeff Wang
08f1d199c1 add random logarithm tests, extra tests near log(1.0) 2020-10-13 22:11:00 -04:00
Jeff Wang
89f442cae8 add random division/reciprocal tests 2020-10-13 00:52:00 -04:00
Jeff Wang
18692d9baf add random sqrt tests 2020-10-13 00:51:57 -04:00
Jeff Wang
0a552c9f61 Merge branch 'jjj11x/ci' 2020-09-14 10:05:03 -04:00
Jeff Wang
bc8c3aab8e upload build artifacts 2020-09-14 10:00:22 -04:00
Jeff Wang
bef903b20a initial attempt at CI build 2020-09-14 08:51:19 -04:00
Jeff Wang
233f347ecc Merge branch 'sqrt_decn' 2020-09-13 23:00:56 -04:00
Jeff Wang
10ec4efed3 remove checked in binaries 2020-09-13 23:00:02 -04:00
Jeff Wang
a5e64e89d4 free up some flash space 2020-09-13 22:50:19 -04:00
Jeff Wang
273e2f5742 add fast reciprocal sqrt() implementation 2020-09-13 22:49:38 -04:00
Jeff Wang
5f6a375c06 Merge branch 'srtlg/development-trigonometric' 2020-09-13 02:06:33 -04:00
Jeff Wang
b43f0b9480 update readme 2020-09-13 01:55:32 -04:00
Jeff Wang
64754395be add shift down sign, change GUI keys, bump version 2020-09-13 01:55:00 -04:00
Jeff Wang
d8d7f98663 clear IsShiftedUp/Down at end of switch case, allow turning off with either shift 2020-09-13 01:19:22 -04:00
Mirko Scholz
2b915a3e59 decreased accuracy so that the real hardware is useful at 33 MHz 2020-09-10 19:59:57 +02:00
Mirko Scholz
5f0bd3886a cleanup 2020-09-10 19:23:58 +02:00
Mirko Scholz
2903579efd added arcsin and arccos
added a stack for temporaries, otherwise it became to tedious to keep
track which function uses which temporary for later
2020-09-10 18:49:47 +02:00
Mirko Scholz
b56523fadf updated keyboard of Qt GUI 2020-09-10 16:56:58 +02:00
Mirko Scholz
370df33a6c implemented roll up 2020-09-10 16:42:32 +02:00
Mirko Scholz
9deae8128d freed unused internal ram 2020-09-10 16:40:40 +02:00
Mirko Scholz
0b5e011017 made new functions accessible to the calculator 2020-09-10 16:37:23 +02:00
Mirko Scholz
e4ad37623b implemented arctan 2020-09-10 15:38:26 +02:00
Mirko Scholz
3e5648de87 implemented sin, cos, theta for all real numbers 2020-09-10 14:30:53 +02:00
Mirko Scholz
2caedc9a45 re-structured tests 2020-09-10 11:40:26 +02:00
Mirko Scholz
f95aa9ab82 fixed tests 2020-09-09 23:52:30 +02:00
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