summaryrefslogtreecommitdiff
path: root/lbitlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-1/+1
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* avoid the use of deprecated functions 'luaL_checkunsigned'/Roberto Ierusalimschy2015-11-111-21/+25
| | | | 'lua_pushunsigned'
* avoid (undefined behavior) integer 'overflow' in left shiftRoberto Ierusalimschy2015-10-081-5/+4
|
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-1/+4
| | | | any other header file
* deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)Roberto Ierusalimschy2014-10-011-13/+13
|
* deprecated library throws an error if called (instead of silentlyRoberto Ierusalimschy2014-05-151-3/+2
| | | | not loading itself)
* does not create library when it is deprecatedRoberto Ierusalimschy2014-03-201-10/+2
|
* bitlib has been deprecatedRoberto Ierusalimschy2014-03-181-1/+22
|
* detail (comment)Roberto Ierusalimschy2014-02-261-2/+6
|
* avoid undefined shift of LUA_NBITS in rotate operationRoberto Ierusalimschy2013-07-091-2/+3
|
* no need for type 'b_uint' (lua_Unsigned must have at least 32 bits)Roberto Ierusalimschy2013-07-091-20/+17
|
* small bugs uncovered in a 64-bit machine (where 'long' has 64 bits)Roberto Ierusalimschy2013-06-211-3/+3
|
* extra trim applied to 'replace' argument (in case lua_Unsigned isRoberto Ierusalimschy2013-04-161-6/+8
| | | | larger than 32 bits)
* detail (avoiding warnings)Roberto Ierusalimschy2013-03-191-3/+5
|
* added 'return' (when possible) to calls to error functionsRoberto Ierusalimschy2013-02-211-2/+2
|
* typo in messageRoberto Ierusalimschy2011-06-201-2/+2
|
* allows number of bits used by the library to be changed from outsideRoberto Ierusalimschy2010-12-171-11/+14
|
* new functions 'extract' and 'replace'Roberto Ierusalimschy2010-11-291-13/+56
|
* 'test' -> 'btest'Roberto Ierusalimschy2010-11-221-2/+2
|
* conventional names for bitwise operatorsRoberto Ierusalimschy2010-11-221-13/+13
|
* correction to allow lua_Unsigned larger than usigned intRoberto Ierusalimschy2010-11-081-2/+2
|
* stricter control over number of bits in each operationRoberto Ierusalimschy2010-10-281-12/+20
|
* new names for bit functions (mimicking assembler)Roberto Ierusalimschy2010-10-271-11/+11
|
* new type lua_Unsigned and corresponding projection/injection functionsRoberto Ierusalimschy2010-10-251-16/+9
|
* bitlib renamed to 'bit32' + new function for arithmetic shiftRoberto Ierusalimschy2010-10-251-6/+21
|
* functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerxRoberto Ierusalimschy2010-07-021-3/+4
| | | | that have an extra out parameter with conversion status
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-2/+2
| | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated.
* use of 'conventional' names for shift and rotate operations +Roberto Ierusalimschy2010-02-111-7/+27
| | | | right/left versions for them
* missing standard definesRoberto Ierusalimschy2010-01-121-1/+4
|
* new mark LUAMOD_API for all luaopen_* functionsRoberto Ierusalimschy2009-11-241-2/+2
|
* Standard library for bitwise operationsRoberto Ierusalimschy2009-07-011-0/+123