log2#

rbc.stdlib.elementwise_functions.log2(a)#
Calculates an implementation-dependent approximation to the base 2 logarithm, having

domain.

[0,

+infinity] and codomain [-infinity, +infinity], for each element x_i of the input array x.

Array-API ‘log2’ doc