Closed capthehacker99 closed 1 year ago
Description Huge numbers gets turned into inf
inf
Expected behavior Huge numbers should get converted to math.huge or stay the same
math.huge
To Reproduce Steps to reproduce the behavior:
$ echo local a = 999e9999; > test.lua $ lua cli.lua --preset Minify test.lua --o testout.lua PROMETHEUS: Applying Obfuscation Pipeline to test.lua ... PROMETHEUS: Parsing ... PROMETHEUS: Parsing Done in 0.00 seconds PROMETHEUS: Renaming Variables ... PROMETHEUS: Renaming Done in 0.00 seconds PROMETHEUS: Generating Code ... PROMETHEUS: Code Generation Done in 0.00 seconds PROMETHEUS: Obfuscation Done in 0.01 seconds PROMETHEUS: Generated Code size is 55.00% of the Source Code size PROMETHEUS: Writing output to "testout.lua" $ type testout.lua local T=inf
Description Huge numbers gets turned into
inf
Expected behavior Huge numbers should get converted to
math.huge
or stay the sameTo Reproduce Steps to reproduce the behavior: