| 
						
					 | 
					
						
						
							
						
						e907f4571d
					 | 
					
						
						
							
							start converting testbench to Catch unit tests
						
						
						
						
						
						
					 | 
					
						2019-11-18 04:30:20 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d532f2cf44
					 | 
					
						
						
							
							put license notice in all files, use GPLv3+
						
						
						
						
						
						
					 | 
					
						2019-11-14 03:45:52 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9402bd512f
					 | 
					
						
						
							
							keyboard support for Qt GUI
						
						
						
						
						
						
					 | 
					
						2019-11-14 03:32:07 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f70510e46a
					 | 
					
						
						
							
							use cmake everywhere for desktop build, fix build warnings
						
						
						
						
						
						
					 | 
					
						2019-11-14 02:44:07 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f25a71b74c
					 | 
					
						
						
							
							v1.09: bugfix for taking log/ln of a number with an exponent of 99
						
						
						
						
						
						
					 | 
					
						2019-11-14 02:15:34 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						47459f5253
					 | 
					
						
						
							
							v1.08 bugfix: make clearX actually clear X instead of just clearing number entry
						
						
						
						
						
						
					 | 
					
						2019-10-22 20:17:30 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						56e3034f9d
					 | 
					
						
						
							
							bugfix for exponents > 127 getting printed as negative
						
						
						
						
						
						
					 | 
					
						2019-10-22 02:13:29 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c3aa80289f
					 | 
					
						
						
							
							fix square root of 0 bug
						
						
						
						
						
						
					 | 
					
						2019-10-22 01:07:28 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						581a8e26f1
					 | 
					
						
						
							
							disallow subtraction/negation of error
						
						
						
						
						
						
					 | 
					
						2019-10-21 02:36:57 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b18969fef0
					 | 
					
						
						
							
							update gui
						
						
						
						
						
						
					 | 
					
						2019-10-07 03:19:26 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8f0598d75c
					 | 
					
						
						
							
							move tmp4 to xdata to free up more stack space
						
						
						
						
						
						
					 | 
					
						2019-10-07 00:08:25 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a3b00dd815
					 | 
					
						
						
							
							fix division: make recip operate on accum
						
						
						
						
						
						
						
						also avoids extra copy when only taking recip 
						
						
					 | 
					
						2019-10-07 00:08:08 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8e9f37c7d2
					 | 
					
						
						
							
							add sqrt() and 1/x functions
						
						
						
						
						
						
					 | 
					
						2019-10-06 21:38:42 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						45e4dd25f8
					 | 
					
						
						
							
							fix e^x calculation for negative x
						
						
						
						
						
						
					 | 
					
						2019-10-06 21:38:32 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5345843974
					 | 
					
						
						
							
							update refout
						
						
						
						
						
						
					 | 
					
						2019-10-06 21:06:48 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5f0cec0bad
					 | 
					
						
						
							
							bugfix for log()/pow: minimize stack usage
						
						
						
						
						
						
					 | 
					
						2019-10-06 21:04:45 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						75dd499630
					 | 
					
						
						
							
							add power function, try to reduce stack usage, standardize unary ops
						
						
						
						
						
						
					 | 
					
						2019-10-06 21:04:45 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bf0bfe39a4
					 | 
					
						
						
							
							calculate relative diff instead of absolute diff
						
						
						
						
						
						
					 | 
					
						2019-10-06 21:04:45 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1a9bbcc1ce
					 | 
					
						
						
							
							initial exp() implementation
						
						
						
						
						
						
						
						(refout for log(1.5) changed due to using more accurate expected result) 
						
						
					 | 
					
						2019-10-06 21:04:40 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						277ae0acf3
					 | 
					
						
						
							
							speedup log calculation by optimizing mulitplication by 1 + 10^-j
						
						
						
						
						
						
					 | 
					
						2019-10-05 01:04:57 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						06ca0b2829
					 | 
					
						
						
							
							speedup log calculation by optimizing subtracting 10, regenerate reference output
						
						
						
						
						
						
					 | 
					
						2019-10-05 01:04:38 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ce42e30513
					 | 
					
						
						
							
							log10() fixes to prevent calculator from crashing
						
						
						
						
						
						
					 | 
					
						2019-10-04 23:49:42 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c2edc7871d
					 | 
					
						
						
							
							fix top line display after clearing after arith operation (anything which disables stack lift)
						
						
						
						
						
						
					 | 
					
						2019-10-03 01:11:42 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c42cdedc1b
					 | 
					
						
						
							
							fix enter for DUP showing X as 0, unify processing of commands
						
						
						
						
						
						
					 | 
					
						2019-10-03 00:58:54 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						75de345f7c
					 | 
					
						
						
							
							merge fix
						
						
						
						
						
						
					 | 
					
						2019-10-03 00:33:45 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						181469dd57
					 | 
					
						
						
							
							set error when trying to calculate log(0)
						
						
						
						
						
						
					 | 
					
						2019-10-03 00:32:38 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c3ec112f97
					 | 
					
						
						
							
							bugfix for shift-clear
						
						
						
						
						
						
					 | 
					
						2019-10-03 00:32:35 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						21be4081b2
					 | 
					
						
						
							
							add log10() function
						
						
						
						
						
						
					 | 
					
						2019-10-03 00:31:25 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0f17fbdcc7
					 | 
					
						
						
							
							fix digit entry before taking log
						
						
						
						
						
						
						
						separate out finishing entry/processing command into common function 
						
						
					 | 
					
						2019-10-03 00:31:20 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5c194c68e4
					 | 
					
						
						
							
							build fix
						
						
						
						
						
						
					 | 
					
						2019-10-02 23:27:58 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						77d18b57c5
					 | 
					
						
						
							
							make sure number not negative before trying to take log
						
						
						
						
						
						
						
						also remove some TODOs 
						
						
					 | 
					
						2019-10-02 22:51:02 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cb92a82f4b
					 | 
					
						
						
							
							add shift key and ability to calculate ln()
						
						
						
						
						
						
					 | 
					
						2019-10-02 22:47:53 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9fc462ca94
					 | 
					
						
						
							
							bugfix for backspacing from exp entry all the back to significand entry
						
						
						
						
						
						
						
						check for '.' needs to be after entry_i-- 
						
						
					 | 
					
						2019-10-02 22:47:32 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5a3dc2337d
					 | 
					
						
						
							
							more checks for NaN/errors before performing operations
						
						
						
						
						
						
					 | 
					
						2019-10-02 22:46:26 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						23e49a0405
					 | 
					
						
						
							
							NUM_A_ARRAY cannot be less than num_lsu
						
						
						
						
						
						
					 | 
					
						2019-10-02 22:45:02 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ac1aaac096
					 | 
					
						
						
							
							initial natural log implementation
						
						
						
						
						
						
					 | 
					
						2019-10-02 22:43:23 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						acc9c4821f
					 | 
					
						
						
							
							prototyping of reciprocal and log functions
						
						
						
						
						
						
					 | 
					
						2019-10-02 02:52:08 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6eb48de844
					 | 
					
						
						
							
							more comments
						
						
						
						
						
						
					 | 
					
						2019-09-24 00:11:51 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4f020da222
					 | 
					
						
						
							
							use global registers for division, have sub_mag() operate directly on Accum and B
						
						
						
						
						
						
					 | 
					
						2019-09-23 23:46:58 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						747355222d
					 | 
					
						
						
							
							try to remove more trailing 0s
						
						
						
						
						
						
					 | 
					
						2019-09-23 23:06:43 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9dcb16681e
					 | 
					
						
						
							
							fix desktop build warnings
						
						
						
						
						
						
					 | 
					
						2019-09-23 22:57:34 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						eccd89807a
					 | 
					
						
						
							
							improve initial estimate for division newton raphson iteration
						
						
						
						
						
						
					 | 
					
						2019-09-23 22:48:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						52ddf7dd96
					 | 
					
						
						
							
							do not require BDecn to be preserved (frees up some xdata and code space)
						
						
						
						
						
						
					 | 
					
						2019-05-02 03:49:21 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0049f3df98
					 | 
					
						
						
							
							do not compile with stack auto, change functions to be nonreentrant, use fixed parameters
						
						
						
						
						
						
						
						- frees up ~4KB of code space 
						
						
					 | 
					
						2019-05-02 03:27:01 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6399cbf44f
					 | 
					
						
						
							
							modify code to use accumulator architecture to minimize pointer usage
						
						
						
						
						
						
					 | 
					
						2019-05-01 03:54:57 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						96c762aeed
					 | 
					
						
						
							
							missed change for making number of exponent bits settable
						
						
						
						
						
						
					 | 
					
						2019-05-01 01:49:16 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						60ed369c47
					 | 
					
						
						
							
							compare exponent directly for determining NaN
						
						
						
						
						
						
					 | 
					
						2019-05-01 01:40:23 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						58a162fe4d
					 | 
					
						
						
							
							allow number of exponent bits to be adjustable
						
						
						
						
						
						
					 | 
					
						2019-05-01 01:37:14 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |