diff options
-rw-r--r-- | numericx.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/numericx.c b/numericx.c index 3ac74c4..c3d6b97 100644 --- a/numericx.c +++ b/numericx.c @@ -25,15 +25,6 @@ /** * @param bool * - * Show debug message of the step by step incrementation of the number. - */ -#ifndef DEBUG -#define DEBUG false -#endif - -/** - * @param bool - * * Configuration of the resulting numeral system * to have the units place on the end of the writing direction (on the right). */ @@ -468,33 +459,15 @@ main(int argc, char* argv[]) /* increments until it finishes */ while( !is_the_same(counting, number) ) { - if(DEBUG) - print_numeral(result); - if( TO_INFINITE_BASE ) increment(result, to_first, to_last, to_second); else increment(result, to_first, to_last, to_first); - if(DEBUG) - { - printf(" | "); - print_numeral(counting); - printf("\n"); - } - increment(counting, from_first, from_last, from_first); } /* print */ - if(DEBUG) - { - print_numeral(result); - printf(" | "); - print_numeral(counting); - printf("\n"); - } - print_numeral(result); printf("\n"); |