Floor function for power of 2

79 Views Asked by At

I am confused about this. Which one is true?

$2^{\lfloor{2log_2(x)}\rfloor} =\lfloor{x^2}\rfloor$

or

$2^{\lfloor{2log_2(x)}\rfloor} =\lfloor{x}\rfloor^2$