/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_is_sorted.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet > shift != (prev >> shift) - 1) return (0); prev = tab[i]; i++; } return (1); } int ft_is_sorted(int *in) { return (ft_bit_finder_right(ft_get_bit_min(in), 1) == 31); }