lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Options for signed 64bit ints
From
: steve donovan <steve.j.donovan@
...
>
Date
: Sat, 3 Aug 2013 15:42:01 +0200
On Fri, Aug 2, 2013 at 4:19 PM, Andrew Starks
<
andrew.starks@trms.com
>
wrote:
I assume there is no objection to posting it on github?
I got bored and did this:
https://gist.github.com/stevedonovan/6146474
This version works for both 5.1 and 5.2, and adds __pow.
int64.new can be passed an integer, or a string representing an integer; this may now be a hex literal in the 0x... form.
int64.tohex(n) gives a hex representation of the 64-bit value. int64.num(n) attempts a conversion. It is not very clever.
steve d.
References
:
Options for signed 64bit ints
,
Andrew Starks
RE: Options for signed 64bit ints
,
Chodera, Ian
Re: Options for signed 64bit ints
,
Lorenzo Donati
Re: Options for signed 64bit ints
,
Andrew Starks
Re: Options for signed 64bit ints
,
Justin Cormack
Re: Options for signed 64bit ints
,
Andrew Starks
Re: Options for signed 64bit ints
,
Luiz Henrique de Figueiredo
Re: Options for signed 64bit ints
,
Andrew Starks
Prev by Date:
Re: Options for signed 64bit ints
Next by Date:
Re: imap client
Previous by thread:
Re: Options for signed 64bit ints
Next by thread:
Re: Options for signed 64bit ints
Index(es):
Date
Thread