628 Commits (73d797ce7ea4c547cb97e39633a71a242c7356c8)

Author SHA1 Message Date
Roberto Ierusalimschy 4ba0cb4580 always use macros to operate on lua_Numbers 10 years ago
Roberto Ierusalimschy 6408bc0b7f new macros 'chgfltvalue'/'chgivalue' (numerical for loop does 10 years ago
Roberto Ierusalimschy 81245b1ad5 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old 10 years ago
Roberto Ierusalimschy c8d6cb0136 macros 'luai_num*' (for float arithmetic operations) moved to 10 years ago
Roberto Ierusalimschy 7e2015a46d size of short strings stored in a single byte, to reduce the size 10 years ago
Roberto Ierusalimschy 50e2eb8954 change in macro 'vmcase', avoding code inside it. (Code inside the 10 years ago
Roberto Ierusalimschy 2b83711fba new macro 'nvalue' (to convert an object to a float when we know 10 years ago
Roberto Ierusalimschy 049cf14cf9 'x//y' extended to floats + more comments about module and floor 10 years ago
Roberto Ierusalimschy 5d628519d3 simpler definition for 'luaV_tonumber_' 10 years ago
Roberto Ierusalimschy bde14c3adc macro to change method of conversion from float to integer (make it 10 years ago
Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
Roberto Ierusalimschy 463edee2fd 'lua_numtointeger' -> 'lua_numbertointeger' 10 years ago
Roberto Ierusalimschy f97c64d7bf macros 'LUA_QL'/'LUA_QL' deprecated 10 years ago
Roberto Ierusalimschy 3a15c7ce43 size for array part of a table ('sizearray') changed from 'int' to 10 years ago
Roberto Ierusalimschy d861706620 new macro 'cvt2num' to better control whether strings are convertible 10 years ago
Roberto Ierusalimschy 34ac039fb8 new macro 'cvt2str' to better control whether numbers are convertible 10 years ago
Roberto Ierusalimschy 17ee57f8e0 'iswhite' and related macros now can work directly on any object 10 years ago
Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union 10 years ago
Roberto Ierusalimschy 8bb272a3e3 new conversion float->integer: conversion is valid only when 10 years ago
Roberto Ierusalimschy b9dcf9974d detail (typos in comments) 11 years ago
Roberto Ierusalimschy 89b56e7d84 more precision between closure types ('LClosure' x 'CClosure') 11 years ago
Roberto Ierusalimschy 1a3656e56e more relaxed rules for __eq metamethod (more similar to other 11 years ago
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