lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* On 2014-03-04 12:43:25 +0100, Dio Darkclainer wrote:
 
> Hello all!
> Code:
> 
> for i=1,20 do
>    if math.floor(math.log(2^i,2)) ~= i then
>       print(i)
>    end
> end
> 
> will be output
> 3
> 6
> 12
> 13

I'm not able to reproduce. What is your platform and compiler?