lua-users home
lua-l archive

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


> On Jan 12, 2015, at 2:08 PM, Coda Highland <chighland@gmail.com> wrote:
> 
> On Mon, Jan 12, 2015 at 2:04 PM, Michael Welsh Duggan <mwd@cert.org> wrote:
>> Sean Conner <sean@conman.org> writes:
>> 
>> 
>> 0x1000000000000
>> 
>> --
>> Michael Welsh Duggan
>> (mwd@cert.org)
>> 
> 
> 1 << 48.
> 
> We have bitops now. :P
> 
> /s/ Adam
> 

However, as Lua does little (if any) constant folding at compile time, this will be more expensive than the equivalent hex/decimal literal.

—Tim