fdai7968
|
3387438388
|
refactoring: if one a or b is zero just return the other
|
11 months ago |
fdai7968
|
0c728d8355
|
Update src/subtraction/subtraction.h
|
11 months ago |
fdai7968
|
033277c37e
|
Add new subtraction.h file
|
11 months ago |
fdai7968
|
a5f0319427
|
Update src/subtraction/subtraction.c
|
11 months ago |
fdai7968
|
4c2b7fd6da
|
Add new subtraction.c
|
11 months ago |
fdai7968
|
72f01d58ad
|
Add new subtraction directory
|
11 months ago |
fdai7968
|
951389500c
|
Corrected naming mistake
|
11 months ago |
fdai7968
|
e037d3237a
|
refactoring case one or two zeros always return 0
|
11 months ago |
fdai7968
|
f0608d5029
|
Add multiplication.h
|
11 months ago |
fdai7968
|
8472e25748
|
Add multiplication.c
|
11 months ago |
fdai7968
|
0822b9d60b
|
Add multiplication
|
11 months ago |
Laurin
|
26343283e4
|
refactoring: made code more readable and added comments
|
11 months ago |
Laurin
|
004b81aca4
|
refactoring: added comments describing the function's behavior and use in header file
|
11 months ago |
Laurin
|
ded7c60fcb
|
defined and implemented function to convert hex input to decimal
|
11 months ago |
Laurin
|
2fe8d2dcbf
|
fixed function converting binary input to decimal not working for every input
|
11 months ago |
Laurin
|
bc133aa9f1
|
refactoring: handled possible memory allocation errors in both convert functions
|
11 months ago |
Laurin
|
16405fd475
|
refactoring: changed read only parameter of function from int to const int
|
11 months ago |
Laurin
|
2800426e7c
|
implemented hexStrLen function into to convert function to dynamically determine hex string length
|
11 months ago |
Laurin
|
f68766a844
|
implemented function for determining string length of hex string
|
11 months ago |
Laurin
|
ed0ba8f0b8
|
declared function to determine string length of hex string
|
11 months ago |
Laurin
|
a96a875911
|
added other cases for input being smaller than 16
|
11 months ago |
Laurin
|
9cbb10f125
|
added function to convert int to hex string for small ints
|
11 months ago |
Laurin
|
7dfe49145c
|
declared new function to convert int to hex in header file
|
11 months ago |
cxnnqr
|
6aad7be0b2
|
refactoring: simplified the zero cases
|
11 months ago |
cxnnqr
|
9ed80a6f35
|
refactoring: added comments for better understanding
|
11 months ago |
Laurin
|
a7218c6a73
|
implemented prototype function to convert binary strings of 1s into decimal
|
11 months ago |
Laurin
|
3648f419cd
|
declared new function in header file to convert binary numbers into decimal
|
11 months ago |
cxnnqr
|
d76b8867fe
|
added edge cases for one or both numbers = 0
|
11 months ago |
cxnnqr
|
1fdc737367
|
refactoring: changed to Euclidean modulo algorithm
|
11 months ago |
cxnnqr
|
8bb76200ce
|
implemented basic function for the ggT
|
11 months ago |
cxnnqr
|
e5293217a7
|
renamed from ggt.h to ggT.h
|
11 months ago |
cxnnqr
|
28e2262a26
|
added prototype function ggT(int a, int b)
|
11 months ago |
cxnnqr
|
3fa1f1877a
|
defined ggT.h
|
11 months ago |
Laurin
|
abf4d186ad
|
added if statement to be able to convert negative integers
|
11 months ago |
Laurin
|
fb4ad3c51b
|
expanded binaryStrLen to determine length in case input is negative
|
11 months ago |
Laurin
|
69d57301a1
|
refactoring: moved if statement for input 0 to top
|
11 months ago |
Laurin
|
6fd5e28d8c
|
implemented binaryStrLen function into convertIntToBinaryStr
|
11 months ago |
Laurin
|
aa2e397bec
|
fix added smaller equal sign in loop head
|
11 months ago |
Laurin
|
e504c53d9f
|
added case in binaryStrLen for input 0 length is 1
|
11 months ago |
Laurin
|
08f6485826
|
added function to determine binary string length
|
11 months ago |
Laurin
|
c91005ceb8
|
declared new function to determine length of binary string in header file
|
11 months ago |
Laurin
|
501ebf2245
|
refactoring: used length for indexing instead of index
|
11 months ago |
Laurin
|
7b11525191
|
added function to convert int from 0 - 3 into binary string
|
11 months ago |
Laurin
|
d335bfcb5f
|
defined conversionOfNumbers.h
|
11 months ago |
TheUltimateOptimist
|
7cf9f0d312
|
refactoring: prefixed input retrieval functions with user
|
11 months ago |
TheUltimateOptimist
|
7a7fceb464
|
refactoring: created printInvalidNumberMessage function
|
11 months ago |
TheUltimateOptimist
|
d8af3aa1a5
|
refactoring: created isNumberValid function
|
11 months ago |
TheUltimateOptimist
|
8c334ca905
|
refactoring: combined trimLeft and trimRight in trim
|
11 months ago |
TheUltimateOptimist
|
2d2ac3545a
|
refactoring: replaced 1 with true
|
11 months ago |
TheUltimateOptimist
|
f5cda7cfc6
|
refactoring: exchanged printf with printText
|
11 months ago |