Roberto Ierusalimschy
|
69b5f7a410
some details in 'luaO_int2fb' + more consistent use of the locale
|
10 年之前 |
Roberto Ierusalimschy
|
e723c75c02
details (avoid 'lint' warnings)
|
10 年之前 |
Roberto Ierusalimschy
|
c8d6cb0136
macros 'luai_num*' (for float arithmetic operations) moved to
|
10 年之前 |
Roberto Ierusalimschy
|
fb6796ba06
removed useless initializations
|
10 年之前 |
Roberto Ierusalimschy
|
5fbd40dbe5
'x//y' extended to floats
|
10 年之前 |
Roberto Ierusalimschy
|
81c39a5244
no need to cast '*s' to unsigned char when we know it is a digit +
|
10 年之前 |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 年之前 |
Roberto Ierusalimschy
|
59fbbf0a65
small simplifications in code for 'lua_strx2number'
|
10 年之前 |
Roberto Ierusalimschy
|
4870194380
small reorganization of tests around LUA_USE_C99
|
10 年之前 |
Roberto Ierusalimschy
|
bdf566a8a3
`name' in comments changed to 'name'
|
10 年之前 |
Roberto Ierusalimschy
|
ff9ca88aa6
added some casts to avoid warnings in some compilers
|
10 年之前 |
Roberto Ierusalimschy
|
f97c64d7bf
macros 'LUA_QL'/'LUA_QL' deprecated
|
10 年之前 |
Roberto Ierusalimschy
|
56d4537879
'$c' in 'lua_pushfstring' prints non-printable characters with
|
10 年之前 |
Roberto Ierusalimschy
|
c5cae9362c
added two casts to avoid warnings in VS
|
10 年之前 |
Roberto Ierusalimschy
|
34b6664dcb
better to use 'long' to represent UTF-8 code points
|
10 年之前 |
Roberto Ierusalimschy
|
f5c690b684
details in comments
|
11 年之前 |
Roberto Ierusalimschy
|
34ac039fb8
new macro 'cvt2str' to better control whether numbers are convertible
|
11 年之前 |
Roberto Ierusalimschy
|
b9dcf9974d
detail (typos in comments)
|
11 年之前 |
Roberto Ierusalimschy
|
45c430eac0
addition of '.0' to float representation done by the kernel
|
11 年之前 |
Roberto Ierusalimschy
|
27d9219cf3
no more integer exponentiation
|
11 年之前 |
Roberto Ierusalimschy
|
c549d4fe64
'lua_strtonum' (and 'luaO_str2num') now return string size, instead of
|
11 年之前 |
Roberto Ierusalimschy
|
5388aa9fc0
'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts
|
11 年之前 |
Roberto Ierusalimschy
|
ffa43df3cd
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
|
11 年之前 |
Roberto Ierusalimschy
|
e98ba351ce
n^-m gives float result (instead of error)
|
11 年之前 |
Roberto Ierusalimschy
|
037a70dfea
cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from
|
11 年之前 |
Roberto Ierusalimschy
|
8f961da3db
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
|
11 年之前 |
Roberto Ierusalimschy
|
d99ffa920d
new type 'LUAI_UACINT' (result of an 'usual argument conversion' of
|
11 年之前 |
Roberto Ierusalimschy
|
a8aede68c7
new definition for 'luai_nummod' (using 'fmod')
|
11 年之前 |
Roberto Ierusalimschy
|
da4811238a
details (typos in comments)
|
11 年之前 |
Roberto Ierusalimschy
|
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
|
11 年之前 |