Fixed 't' block huge number support

Was calling huge not accessing it.
Updated version as well to reflect changes
This commit is contained in:
Ryan 2017-11-12 14:26:56 -05:00
parent 3facfed818
commit 3bbfcf2e9b
3 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
crypto.lua
crypto.lua
crypto.lua

View File

@ -1,5 +1,5 @@
bin={}
bin.Version={5,0,1}
bin.Version={5,0,3}
bin.stage='stable'
bin.data=''
bin.t='bin'

View File

@ -24,11 +24,11 @@ bin.registerBlock("t",function(SIZE_OR_NIL,ref)
tab[ind]=ref:getBlock("n",4)
n=n+4
elseif dt=="I" then
tab[ind]=math.huge()
tab[ind]=math.huge
ref:getBlock("n",4)
n=n+4
elseif dt=="i" then
tab[ind]=-math.huge()
tab[ind]=-math.huge
ref:getBlock("n",4)
n=n+4
elseif dt=="S" then