about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* add to Makefile sun<->earth ruleDaniel Santos2022-03-121-1/+7
| | | | | | | | * add sun to earth and vice-versa rule, without adding it to the all rule * also add earth<->sun to 'clean' Makefile rule Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add decimal<->binary Makefile ruleDaniel Santos2022-03-121-1/+7
| | | | | | * add decimal to binary and vice-versa Makefile rule Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add .PHONY to MakefileDaniel Santos2022-03-121-0/+4
| | | | | | * add .PHONY to some rules in Makefile Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* minor optimization for main cycleDaniel Santos2022-03-121-1/+7
| | | | | | | * optimizes main counting cycle if TO_INFINITE_BASE is set, by adding to_second variable Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* static program name (macro)Daniel Santos2022-03-121-8/+6
| | | | | | | * make program name into the macro PROG_NAME * add program name into all error messages Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* free memoryDaniel Santos2022-03-122-1/+30
| | | | | | | | * add mem rule to Makefile * add free_numeral() * free all memory allocations Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* Check if number belongs to numerical systemDaniel Santos2022-03-121-0/+23
| | | | | | | * add is_valid_number() * check if number belongs to the 'from' numerical system Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* Makefile updateDaniel Santos2022-03-121-4/+54
| | | | | | | * put all the rules to make programs to test my past numerical systems programs Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add MIT licenseDaniel Santos2022-03-111-0/+21
| | | | Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* DEBUG messages more compactDaniel Santos2022-03-111-9/+9
| | | | | | | * print_numeral() without '\n' * more compact DEBUG message Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add TO_INFINITE_BASE flagDaniel Santos2022-03-111-6/+9
| | | | | | | * add to increment() one more argument (char* brand_new_digit) * add TO_INFINITE_BASE functionality Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add FROM_INFINITE_BASE flagDaniel Santos2022-03-111-2/+32
| | | | | | | * defines both (TO and FROM)_INFINITE_BASE * add FROM_INFINITE_BASE functionality Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add (FROM and TO)_FIRST_NUMBER_VOID flagsDaniel Santos2022-03-101-0/+39
| | | | | | | * add decrement_number_string() * add (FROM and TO)_FIRST_NUMBER_VOID flags Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* compile flags don't need trueDaniel Santos2022-03-101-9/+12
| | | | | | | compilation flags are defined as true by default. rearrange them. Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add TO_UNITS_ON_THE_END and FROM_UNITS_ON_THE_ENDDaniel Santos2022-03-091-6/+49
| | | | | | | | * add reverse_string() * number variable instead of number_first/number_last * add flags TO_UNITS_ON_THE_END and FROM_UNITS_ON_THE_END Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add argument processingDaniel Santos2022-03-091-0/+7
| | | | | | add usage message when invalid argument Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* remove unnecessary is_same_size functionDaniel Santos2022-03-081-14/+0
| | | | Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add gitignoreDaniel Santos2022-03-081-0/+1
|
* workingDaniel Santos2022-03-082-0/+172
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>