lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


There are far too many internal dependancies on the number type being
a floating point type.  I wrote a perl script to convert all the code.
I thought I might share it, if anyone cared.

begin 644 convert.tar.gz
M'XL(".]*CC<``V-O;G9E<G0N=&%R`.U:;7/;QA'V5^!7;!@Y`B21``B2DJ+:
M'<5F$K6VY)'EIATK84#@*,+&V^``R:R3_O;NO8`$*(JD*-O--%B/3`"WM\^S
M>WNO@!M'UR3-C$>?4:!C[G>[\`CLMM7;QU\`J]/AOU),@-Y^Q^YTNG;'PE++
M;-N/H/LY2162T\Q)`1XYGA,NUR,I_1*$OJRXLOWE;^N\?_S\9?_38EBFV>/M
MO;C]K7VK.]?^=J>'[6]^6AJ+Y4_>_L]$N\.+-\>P'>7AD*3;D$T2`J,T#F';
MB_-A0/!1#-M!'%UMJ^K.S@[X49;&7NYF?AQ]JZH_C?V`0#8FX,5N'I(H<U@)
MN('CAQ0+?`JN$\&0*40$;OQLK'[MD9&/-P@].'WS<G#QKU=]8!@J&DH)./A'
M,S\(P`'!#.(18#M0]CMEYD0>.)3F8<(@*5)31W$:.AG0A+C^R,=V:ZGJ"8R=
M:T1._2PC$9I\1=(`J)OZ208W8]\=(RO$DAT!'+R.7==)G<CEB*H`9)'@)$=!
MC!B5.S^Z@B3&V#"^)/5=9@WS*\HH4\0"<H5>3!^JZ@6/3.P1P-\<RVE&O"/F
M)*#Q29RCSS<1I#Y]WU)/(J!Q2#"2+`88)-02="GWG/./X@Q"YSW6CR9`243)
M'@]1Z$Q4'H$\\@CU4^(P9ZB/T&0T(BY2U/P6:4'1+*].P-95]32&&R?%*&0^
M@K(V"1VLXPSC/(.1GT6$4L"`<[PD3Y.8DE;9,01F[3Y*"0DF^"CQB<<8&5@G
MC#W60%X+X"1C(0@G,(X3EDI.IOJ9<`EK8T!&>8`1%!&X09L84)9P+W('/')-
M@CAA>0<9<<)6D:37L>O(%`W?>W[*VRK('14]]``OX+>BP5M)`$^G-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