nikosliapis Posted November 9, 2009 Posted November 9, 2009 Hello everybody. I have this "strange" problem. I want to use very large numbers on a script (for example 2^100) or even larger When i ask Autoit to calculate lets say 2^100 the number that returns is 1.26765060022823e+030 whitch is actually: 1.267.650.600.228.230.000.000.000.000.000 but the real one is: 1.267.650.600.228.229.401.496.703.205.376 I fethermore process that number so the results that i take are falls I calculated the real number using windows calculator so i supose that my CPU is capable of processing that kind of numbers. I would appreciate any solution or advice for my problem Thanks in advance. Coding can be fun when you do it your own.
evilertoaster Posted November 9, 2009 Posted November 9, 2009 Look at the help file's FAQ's under "What are the current technical limits of AutoIt v3?":Number range (floating point): 1.7E–308 to 1.7E+308 with 15-digit precisionI think there might have been some UDF's that extended this but I can't find any atm :/
dantay9 Posted November 9, 2009 Posted November 9, 2009 There is a bigint udf somewhere around here. I remember seeing one.
AdmiralAlkex Posted November 9, 2009 Posted November 9, 2009 Extended maths UDF .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now