fait tourner les test de la gauche vers la droite
This commit is contained in:
BIN
.test_mask.c.swp
Normal file
BIN
.test_mask.c.swp
Normal file
Binary file not shown.
@@ -32,7 +32,7 @@ void compare(int initial, int compare)
|
|||||||
print_bits(compare);
|
print_bits(compare);
|
||||||
print_bits(initial & compare);
|
print_bits(initial & compare);
|
||||||
!(initial & compare) ? ft_putendl("&: fit") : ft_putendl("&: not fit");
|
!(initial & compare) ? ft_putendl("&: fit") : ft_putendl("&: not fit");
|
||||||
compare <<= 1;
|
compare >>= 1;
|
||||||
}
|
}
|
||||||
print_bits(initial);
|
print_bits(initial);
|
||||||
print_bits(compare);
|
print_bits(compare);
|
||||||
|
|||||||
Reference in New Issue
Block a user