summaryrefslogtreecommitdiff
path: root/lbitlib.c (unfollow)
Commit message (Expand)AuthorFilesLines
2013-07-09no need for type 'b_uint' (lua_Unsigned must have at least 32 bits)Roberto Ierusalimschy1-20/+17
2013-07-05When loading a file, Lua may call the reader function again afterRoberto Ierusalimschy1-2/+78
2013-07-05'tonumber': base must be a numberRoberto Ierusalimschy1-2/+2
2013-07-05'tonumber': does not accept numbers when given a base + convertion fromRoberto Ierusalimschy1-26/+43
2013-07-05'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbersRoberto Ierusalimschy2-21/+14
2013-07-03new function 'ifloor'Roberto Ierusalimschy1-1/+14
2013-06-27no need to check "bad conversion number->int;" in luaL_checkversion,Roberto Ierusalimschy2-16/+14
2013-06-25'numbits' moved from 'math' to 'debug' libraryRoberto Ierusalimschy2-15/+15
2013-06-25LUA_SMALL_* changed to LUA_*SIZE + added support for long double + betterRoberto Ierusalimschy1-24/+40
2013-06-25macro 'lua_strx2number' does not need to be globalRoberto Ierusalimschy1-1/+13
2013-06-25avoid using raw representation of numbers for hashing, as number mayRoberto Ierusalimschy1-15/+25
2013-06-25'luaL_len' returns lua_Integer instead of 'int'Roberto Ierusalimschy2-7/+7
2013-06-25avoid using 'modf' in the implementation of 'math.modf', to avoidRoberto Ierusalimschy1-10/+12
2013-06-21'long' may have more than 32 bits in some machines; use 'int' forRoberto Ierusalimschy1-5/+12
2013-06-21small bugs uncovered in a 64-bit machine (where 'long' has 64 bits)Roberto Ierusalimschy1-3/+3
2013-06-20try to avoid warnings when converting int to pointerRoberto Ierusalimschy1-2/+3
2013-06-20reorganization of warnings + update of explicit dependencies (gcc -MM)Roberto Ierusalimschy1-7/+10
2013-06-20In the table that hashes constants, use a light userdata as keysRoberto Ierusalimschy1-9/+9
2013-06-20avoid warning for unary minus over an unsigned valueRoberto Ierusalimschy1-2/+2
2013-06-20added "reasonable" limit for 'string.rep' (otherwise it is too easyRoberto Ierusalimschy1-3/+8
2013-06-20new macro 'l_floor' (allows 'floorf' even when other math operationsRoberto Ierusalimschy4-9/+10
2013-06-19use lua_Integer for integer parameters to avoid truncationRoberto Ierusalimschy1-15/+15
2013-06-19new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visibleRoberto Ierusalimschy4-8/+14
2013-06-14detail (removed 'assert')Roberto Ierusalimschy1-4/+2
2013-06-14correct error message for floating-point values out of (integer) rangeRoberto Ierusalimschy1-4/+15
2013-06-14correct way (I hope) to convert floats to unsigned intRoberto Ierusalimschy1-4/+8
2013-06-14avoid using a negative value to test 'lua_tounsigned'Roberto Ierusalimschy1-4/+5
2013-06-13configuration of number sizes goes "mainstream"Roberto Ierusalimschy1-69/+71
2013-06-13'math.random' operates with integers when used for integer resultsRoberto Ierusalimschy1-9/+11
2013-06-07avoid adding '.0' to "numbers" like "nan" and "inf"Roberto Ierusalimschy1-3/+3
2013-06-07new version (5.3)Roberto Ierusalimschy1-4/+4
2013-06-07'io.write' writes integers directly (and correctly)Roberto Ierusalimschy1-3/+5
2013-06-07details ('Type* id' -> 'Type *id')Roberto Ierusalimschy3-8/+8
2013-06-04string contatenation handles conversion of integers to strings +Roberto Ierusalimschy3-22/+25
2013-06-04'lua_tounsigned' takes number modulo 2^numbits as a result whenRoberto Ierusalimschy1-2/+28
2013-05-29'luai_hashnum' "inlined" into 'hashfloat'Roberto Ierusalimschy1-5/+8
2013-05-29removed all tricks for conversions + 'luai_hashnum' moved to ltable.cRoberto Ierusalimschy1-43/+1
2013-05-27new implementation for 'lua_strx2number' to correct smallRoberto Ierusalimschy1-24/+36
2013-05-27"legal" way to convert a float to an integer in CRoberto Ierusalimschy3-10/+30
2013-05-26'objlen' can return integersRoberto Ierusalimschy1-3/+3
2013-05-26detail (case '%d' of 'luaO_pushvfstring' should use integers)Roberto Ierusalimschy1-2/+2
2013-05-26support for the case when 'l_mathop' does not conform to lua_NumberRoberto Ierusalimschy1-2/+7
2013-05-26first version of control for number sizes (still in 'local' section)Roberto Ierusalimschy1-4/+36
2013-05-26no more IEEE tricksRoberto Ierusalimschy1-69/+1
2013-05-23removed 'IEEE tricks' (should not be needed in Lua with integers)Roberto Ierusalimschy1-56/+1
2013-05-16'tonumber' now works with integers tooRoberto Ierusalimschy1-10/+8
2013-05-16added patch to last bugRoberto Ierusalimschy1-2/+71
2013-05-14new API function 'lua_cvtonum' to convert a value (number or string)Roberto Ierusalimschy2-2/+26
2013-05-14'luaO_str2int' more generic: accepts white spaces around the numeralRoberto Ierusalimschy3-15/+27
2013-05-14new read format "*i" for reading integersRoberto Ierusalimschy1-1/+17