serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						34c3ab708c
					 | 
					
						
						
							
							fix decimal2longlong too
						
						
						
						
						
						
					 | 
					
						2004-11-27 13:54:51 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						57eb9f0021
					 | 
					
						
						
							
							better overflow checks in decimal2ulonglong
						
						
						
						
						
						
						
						better truncation check in decimal2ulonglong 
						
						
					 | 
					
						2004-11-27 12:35:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						d74b5499d2
					 | 
					
						
						
							
							'5.4', -1, HALF_UP
						
						
						
						
						
						
						
						fixed 
						
						
					 | 
					
						2004-11-11 12:43:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@sergbook.mylan
							
						 
					 | 
					
						
						
							
						
						342fb28efa
					 | 
					
						
						
							
							decimal.c:
						
						
						
						
						
						
						
						test_ro("999999999999999999999.999", 0, CEILING);
    test_da("5", "-6.0");
ignore:
  added gdbinit
						
						
					 | 
					
						2004-11-08 10:06:32 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						3d59f12af0
					 | 
					
						
						
							
							don't return intg=frac=0 from mod
						
						
						
						
						
						
					 | 
					
						2004-11-07 16:12:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						c9292b8284
					 | 
					
						
						
							
							memory overrun in decimal_mod
						
						
						
						
						
						
					 | 
					
						2004-11-07 13:47:44 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						d117bf314f
					 | 
					
						
						
							
							space-stripping in decimal2bin
						
						
						
						
						
						
					 | 
					
						2004-11-04 13:27:44 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						44ddca5399
					 | 
					
						
						
							
							error codes chaged to bitmap (for easier testing with masks)
						
						
						
						
						
						
						
						two more round() modes - CEILING and FLOOR 
						
						
					 | 
					
						2004-11-03 18:43:48 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						16c5f3c59b
					 | 
					
						
						
							
							allocate temp array big enough for not to worry about bound checking in look-aheads
						
						
						
						
						
						
					 | 
					
						2004-11-02 20:45:55 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						e64d290b83
					 | 
					
						
						
							
							different (hopefully, correct) fix for bin2decimal bug
						
						
						
						
						
						
						
						tests added 
						
						
					 | 
					
						2004-11-02 13:55:44 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						fd88351a38
					 | 
					
						
						
							
							s/sint/uint/ - no sign extend for signed bytes
						
						
						
						
						
						
					 | 
					
						2004-11-02 12:17:58 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						ea69fe3072
					 | 
					
						
						
							
							ROUND_UP(negative_number) doesn't work
						
						
						
						
						
						
					 | 
					
						2004-11-02 09:45:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						5dce4d78d5
					 | 
					
						
						
							
							one more pre-division bug
						
						
						
						
						
						
					 | 
					
						2004-11-01 23:44:05 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						9bda96c5fd
					 | 
					
						
						
							
							yet another s/>/>=/ typo
						
						
						
						
						
						
					 | 
					
						2004-11-01 14:47:18 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						bc76b8233d
					 | 
					
						
						
							
							correct test for 1/3
						
						
						
						
						
						
						
						more tests 
						
						
					 | 
					
						2004-11-01 13:58:28 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						9820e00cba
					 | 
					
						
						
							
							stript end zeros before comparison
						
						
						
						
						
						
					 | 
					
						2004-11-01 11:28:36 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						b0045f9e00
					 | 
					
						
						
							
							compare with DIG_BASE corectly
						
						
						
						
						
						
						
						rounding bugs fixed 
						
						
					 | 
					
						2004-10-31 21:30:19 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						afd18341ac
					 | 
					
						
						
							
							new round mode - half_up
						
						
						
						
						
						
					 | 
					
						2004-10-31 13:15:44 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						d35d010173
					 | 
					
						
						
							
							two more places with the same zero-stripping bug
						
						
						
						
						
						
					 | 
					
						2004-10-31 00:02:13 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						54403b233a
					 | 
					
						
						
							
							sanity checks for decimal result buffers
						
						
						
						
						
						
					 | 
					
						2004-10-30 19:27:54 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						5c8155955b
					 | 
					
						
						
							
							bugfix and test case
						
						
						
						
						
						
					 | 
					
						2004-10-30 18:31:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						1f7aa03e42
					 | 
					
						
						
							
							new api per hf request:
						
						
						
						
						
						
						
						string2decimal_fixed
  decimal_round(from, to)
  decimal_make_zero
  decimal_string_size
  decimal_neg 
						
						
					 | 
					
						2004-10-29 00:22:54 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						c593ab8e6e
					 | 
					
						
						
							
							decimal_cmp()
						
						
						
						
						
						
					 | 
					
						2004-10-20 15:26:03 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						0b7f26d74d
					 | 
					
						
						
							
							decimal to/from bin, and utility functions
						
						
						
						
						
						
					 | 
					
						2004-10-19 14:38:54 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								serg@serg.mylan
							
						 
					 | 
					
						
						
							
						
						bd10f962f2
					 | 
					
						
						
							
							arbitrary precision decimal numbers
						
						
						
						
						
						
					 | 
					
						2004-10-18 14:06:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |