• A should be an array of non-negative numbers.
• It returns an array containing the base-2 logarithm of each element of A.
• The output has the same size as A.