Commit
824bccd3f694b83bde486d765cc52d5ef1c38d79
--no commit message
| @@ -18,4 +18,4 @@ encoder: |
| @@ -18,4 +18,4 @@ encoder: |
18
| decoder: |
18
| decoder: |
19
| gcc -I../common/ ../common/auxiliar.c decoder.c -o decoder |
19
| gcc -I../common/ ../common/auxiliar.c decoder.c -o decoder |
20
| bit_selector: |
20
| bit_selector: |
21
| - gcc -I../common/ ../common/auxiliar.c bit_selector.c -o bit_selector |
21
| + gcc -I../common/ ../common/auxiliar.c bit_selector.c -o bit_selector -lm |
1
| #include <stdio.h>
|
1
| #include <stdio.h>
|
2
| #include <string.h>
|
2
| #include <string.h>
|
3
| #include "auxiliar.h"
|
3
| #include "auxiliar.h"
|
4
| -#include <math.h>
|
| |
5
|
|
4
|
|
6
| int main(int argc, char **argv)
|
5
| int main(int argc, char **argv)
|
7
| {
|
6
| {
|
1
| #include <stdio.h>
|
1
| #include <stdio.h>
|
2
| #include <string.h>
|
2
| #include <string.h>
|
3
| #include "auxiliar.h"
|
3
| #include "auxiliar.h"
|
4
| -#include <math.h>
|
| |
5
|
|
4
|
|
6
| int main(int argc, char **argv)
|
5
| int main(int argc, char **argv)
|
7
| {
|
6
| {
|
1
| #include <stdio.h> |
1
| #include <stdio.h> |
2
| #include <string.h> |
2
| #include <string.h> |
3
| #include "auxiliar.h" |
3
| #include "auxiliar.h" |
4
| -#include <math.h> |
| |
5
| |
4
| |
6
| int check_length(char **inputs, uint8_t num_inputs) |
5
| int check_length(char **inputs, uint8_t num_inputs) |
7
| { |
6
| { |
1
| #include <stdio.h> |
1
| #include <stdio.h> |
2
| #include <string.h> |
2
| #include <string.h> |
3
| #include "auxiliar.h" |
3
| #include "auxiliar.h" |
4
| -#include <math.h> |
| |
5
| |
4
| |
6
| int check_length(char **inputs, uint8_t num_inputs) |
5
| int check_length(char **inputs, uint8_t num_inputs) |
7
| { |
6
| { |