505 Commits (23f0ff95177eda2e0a80e3a48562cc6837705735)

Author SHA1 Message Date
Roberto Ierusalimschy c98f195eb9 function 'luaV_numtointeger' changed to a global macro 11 years ago
Roberto Ierusalimschy 36715ab7c1 detail (comment) 11 years ago
Roberto Ierusalimschy 8a0acf0898 comments 11 years ago
Roberto Ierusalimschy 3e977f02ac added a few comments 11 years ago
Roberto Ierusalimschy f8daddba50 added a compat option (although it will be off by default) to 11 years ago
Roberto Ierusalimschy 45c430eac0 addition of '.0' to float representation done by the kernel 11 years ago
Roberto Ierusalimschy 27d9219cf3 no more integer exponentiation 11 years ago
Roberto Ierusalimschy 12bd01c567 added comments to several functions 11 years ago
Roberto Ierusalimschy 06dc893f88 in 'for' loops, make the limit an integer whenever initial value and 11 years ago
Roberto Ierusalimschy c549d4fe64 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of 11 years ago
Roberto Ierusalimschy ddff6ecf30 function 'limittointeger' no needed (now that 'tointeger_aux' handles 11 years ago
Roberto Ierusalimschy 1a6ef098b0 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' plus proper 11 years ago
Roberto Ierusalimschy b123a88673 merge of common parts from 'limittointeger' and 'luaV_tointeger_' 11 years ago
Roberto Ierusalimschy ffa43df3cd 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') 11 years ago
Roberto Ierusalimschy 9c4398de8f 'for' loop tries to convert limit to integer when initial value and 11 years ago
Roberto Ierusalimschy e98ba351ce n^-m gives float result (instead of error) 11 years ago
Roberto Ierusalimschy 037a70dfea cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from 11 years ago
Roberto Ierusalimschy 8f961da3db macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that 11 years ago
Roberto Ierusalimschy 2771050dfa 'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER' 11 years ago
Roberto Ierusalimschy a8aede68c7 new definition for 'luai_nummod' (using 'fmod') 11 years ago
Roberto Ierusalimschy c7859a046d using 'volatile' in 'tofloat' to ensure result has the same precision 11 years ago
Roberto Ierusalimschy 7d514af0bc bug (in work version): comparisons should not try to convert 11 years ago
Roberto Ierusalimschy 3d1c6730da detail ('1U' -> '1u', like other unsigned constants in the code) 11 years ago
Roberto Ierusalimschy ea69f17d98 macro 'tostring' is used only by 'luaV_concat' 11 years ago
Roberto Ierusalimschy 114d10cbc5 detail (comment) 11 years ago
Roberto Ierusalimschy 9f3f5b6f41 details 11 years ago
Roberto Ierusalimschy cd12410195 new macro 'cast_void' 11 years ago
Roberto Ierusalimschy 5ff1c18a71 back with 'L' for macros 'luai_num*', but now with a new macro 11 years ago
Roberto Ierusalimschy d438e1379d insertion of ".0" in floats with integer values done by "luaL_tolstring", 11 years ago
Roberto Ierusalimschy 86dd8bf3f5 no more 'L' in macros "luai_num*" (several places that use those macros 11 years ago
Roberto Ierusalimschy 0a850e641d larger limit + better error messages for loop detection in inheritance 11 years ago
Roberto Ierusalimschy 1ea2d20f74 first implementation of '<<', '>>', and '~' (bitwise not) 11 years ago
Roberto Ierusalimschy c0edab0f6d first implementation of bitwise operators '&' (band), '|' (bor), 11 years ago
Roberto Ierusalimschy a8f8c7fd80 integer exponentiation with negative exponent is invalid 11 years ago
Roberto Ierusalimschy 26629d0af1 details (a few casts moved from macro invocation to macro definition) 11 years ago
Roberto Ierusalimschy af35c7f398 upvalues collected by reference count 11 years ago
Roberto Ierusalimschy 9eff921f8f "barrier" for link prototype->cache changed to be consistent with 11 years ago
Roberto Ierusalimschy 439d74e29f added 'local' bit (true => object is only refered by local variables) 11 years ago
Roberto Ierusalimschy 2f8c51a552 use unsigneds for unary minus, too 11 years ago
Roberto Ierusalimschy 453450d687 new macro 'l_floor' (allows 'floorf' even when other math operations 12 years ago
Roberto Ierusalimschy 130c0e40e0 new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible 12 years ago
Roberto Ierusalimschy 318575627f avoid adding '.0' to "numbers" like "nan" and "inf" 12 years ago
Roberto Ierusalimschy 6fb0b11350 string contatenation handles conversion of integers to strings + 12 years ago
Roberto Ierusalimschy d630daca1a "legal" way to convert a float to an integer in C 12 years ago
Roberto Ierusalimschy 8c883cb4e8 'objlen' can return integers 12 years ago
Roberto Ierusalimschy b22a4280c6 macro 'nvalue' removed + cast to void added to avoid warnings 12 years ago
Roberto Ierusalimschy 6920a7f2e3 new macro 'intop' (to perform integer arithmetic on unsigned types) 12 years ago
Roberto Ierusalimschy 88bf2f83c0 new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM' 12 years ago
Roberto Ierusalimschy 360587f319 favoring 'tonumber' over 'nvalue' 12 years ago
Roberto Ierusalimschy f79584faca detail 12 years ago