diff options
author | Mike Buland <mike@xagasoft.com> | 2015-01-29 08:49:55 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2015-01-29 08:49:55 -0700 |
commit | f03026f5c2cde1eecfda273eaa52df10287f0f9e (patch) | |
tree | c3b5398bb29b848fc5fca2a87633961150d41cad /src/config.h | |
parent | e64cb84fe43660818f7d6eff2954147495b1ac8b (diff) | |
download | clic-f03026f5c2cde1eecfda273eaa52df10287f0f9e.tar.gz clic-f03026f5c2cde1eecfda273eaa52df10287f0f9e.tar.bz2 clic-f03026f5c2cde1eecfda273eaa52df10287f0f9e.tar.xz clic-f03026f5c2cde1eecfda273eaa52df10287f0f9e.zip |
Fixed nasty subtraction bug when dealing with fractions.0.13
It turned out to be a really simple solution, but man, that was
embarassing. I forgot to include the fractional portion of a number
when fixing my radix+1 compliment numbers.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index f55be13..482ef9e 100644 --- a/src/config.h +++ b/src/config.h | |||
@@ -1,11 +1,12 @@ | |||
1 | #ifndef CONFIG_H | 1 | #ifndef CONFIG_H |
2 | #define CONFIG_H | 2 | #define CONFIG_H |
3 | 3 | ||
4 | #define CLIC_VERSION "0.12" | 4 | #define CLIC_VERSION "0.13" |
5 | #define CLIC_VERSION_STR "Clic v" CLIC_VERSION | 5 | #define CLIC_VERSION_STR "Clic v" CLIC_VERSION |
6 | 6 | ||
7 | #define DEBUG_DIVIDE false | 7 | #define DEBUG_DIVIDE false |
8 | #define DEBUG_PARSE false | 8 | #define DEBUG_PARSE false |
9 | #define DEBUG_ADD false | ||
9 | 10 | ||
10 | #define DBS( s, x ) if( DEBUG_ ##s ) { x; } (void)0 | 11 | #define DBS( s, x ) if( DEBUG_ ##s ) { x; } (void)0 |
11 | #define DBS_START( s ) if( DEBUG_ ##s ) { (void)0 | 12 | #define DBS_START( s ) if( DEBUG_ ##s ) { (void)0 |