Opened 14 years ago

Closed 14 years ago

#1274 closed Feature Request (Rejected)

Increase Datatype Ranges

Reported by: robertlcull@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


I have often attempted to use autoit to compile high range data. A major problem that renders Autoit almost completely worthless in this area is the limitations on math functions.

If you were to equate 100000000000000020, autoit would return 1e+300. If you were to equate 100000000000000021, autoit would return 1.#INF.

Also, check out this factorial and permutation function written by MSLx Fanboy:

Here's a few examples where this script works:

_MathPermutation(4, 3) would return the correct answer of 24.
_MathPermutation(10, 5) would return the correct answer of 30240.
_MathPermutation(20, 5) would return the correct answer of 1860480.


_MathPermutation(21, 5) would return an incorrect answer of -203093.854699384.

I had also attempted to design a script that would calculate the fibonacci sequence of numbers and record them into data files. I noticed that before the results had even a 12 digit length, the returns were suddenly all incorrect, capped to a specific length, and alternating between negative and positive answers.

I suggest that AutoIt is made more high range math capable through the addition of an option to change the max limit. By default, every script should run the same as they do now, to avoid overruns in looping miscalculations. But the option should be added to increase this limit.

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

There are other languages out there better suited for the tasks you wish to accomplish than AutoIt.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.