Skip to content

Commit a78a377

Browse files
committed
patch 29/11/2025
+ fix auto detect default chunk size
1 parent 435cd54 commit a78a377

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

int.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- ULTIMATE INT --
33
----------------------------------------------------
44
-- MODULE VERSION: 186
5-
-- BUILD VERSION: 186.6 (28/11/2025) dd:mm:yyyy
5+
-- BUILD VERSION: 186.6 (29/11/2025) dd:mm:yyyy
66
-- USER FEATURE: 26/11/2025
77
-- DEV FEATURE: 26/11/2025
88
-- AUTHOR: SupTan85
@@ -12,8 +12,9 @@
1212
----------------------------------------------------
1313

1414
local intcur = -- 64 bit
15-
(string.format("%.0f", 2^63) == "9223372036854775808" and {9, "9223372036854775808"}) or -- Lua 5.2+
16-
(string.format("%.0f", 2^56) == "72057594037927936" and {8, "72057594037927936"}) or -- Lua 5.1
15+
(9223372036854775808 ~= 9223372036854775807 and {9, "9223372036854775808"}) or -- Lua 5.2 >=
16+
(72057594037927936 ~= 72057594037927935 and {8, "72057594037927936"}) or
17+
(9007199254740991 ~= 9007199254740990 and {7, "9007199254740991"}) or -- Lua 5.1 ==
1718
-- 32 bit
1819
{4, "2147483648"}
1920

0 commit comments

Comments
 (0)