A int64 lib for lua with lightuserdata in 64bit architecture
Switch branches/tags
Nothing to show
Clone or download
Latest commit 71ea9de Jan 3, 2013
Permalink
Failed to load latest commit information.
LICENSE Create LICENSE Jan 4, 2013
Makefile first commit Apr 11, 2012
README.md first commit Apr 11, 2012
int64.c check string Aug 24, 2012
test.lua bugfix: string to int64 Jun 20, 2012

README.md

A int64 library for lua

In 64 bit architecture , we can use lightuserdata type for 64bit number operation. It's a simple way to support int64 in lua.

This library only offer one api : create a int64 number , see test.lua .

It can create a int64 number from lua number or a string (A little-endian 8 bytes string) . you can also push a lightuserdata as a int64 number from C library.