"tonumber" goes crazy with negative numbers in other bases (not 10),
because "strtol" returns long, not unsigned long.
This commit is contained in:
1 parent
b8fcb7b151
commit
0c9080c7a9
2 files changed
+8
-2
No files matched your search
@@ -52,3 +52,9 @@ of view) when functions have upvalues.
|
||||
** lstrlib.c
|
||||
Tue Nov 10 17:29:36 EDT 1998
|
||||
>> gsub/strfind do not check whether captures are properly finished.
|
||||
|
||||
** lbuiltin.c
|
||||
Fri Dec 18 11:22:55 EDT 1998
|
||||
>> "tonumber" goes crazy with negative numbers in other bases (not 10),
|
||||
because "strtol" returns long, not unsigned long.
|
||||
|
||||
Reference in new issue
Block a user