|
TWX Proxy v2.05RC2
TWX Proxy v2.05 Releace Canidate 2 will be released on April 23, 2005. With this release there is more fixes for the Floating point Presision issue caused by the addition of the floating point precision ability and it's corresponding commands. And there will also be a new script command added.
In v2.03 Xide added the ability to do mathematical operation on floating point numrical values. Right down to the specific decimal point, or precision. Unfortunately, with the addition of this specific ability, and it's corresponding scripting commmands. It produce two very undesirable effects.
First, without setting any precision. Would always round UP to the nearest whole number. Of course this is not backwords compatible with previous versions of TWX Proxy, and the scripts that were made for them.
Second, With the way the precision routine was originally coded. Multiplication and Division of floating point numbers. Would produce the wrong result 75% to 90% of the time. And in some rare cases it would cause the Addition of numerical values, to produce the wrong results. Of course this is depended on the numerical values supplied to the mathematical operation. And the precision set prior to the mathematical operation. These findings was was found, and verified, with the use of 3 seperate calculators.
Based upon the very tiny bit of information gleamed from Elder Prophet. This new feature was added to TWX Proxy upon his request. As he needed it for his Supper Dupper Haggaling script(s). And that the reason it is coded the way it was. Is because he told Xide to code it this way.
With v2.05 Release Canidate I had fixed the issue of not setting any precision. And the backwords incompatibility caused by it. But, the issue with using a set precision multiplication/division, and on rare occasions the addition, of numerical values was still present in the code.
With v2.05 Release Canidate 2
I have fixed the issue with the setting of precision, and the effect it has on multiplication, division and addition. Again, this is based on the findings produced with 3 seperate calculators.
Since Elder Prophet seems to have a specific reason to have the original precision code that was created. I have decided to leave such code in place. But, to allow the script author to state if they wish to use Elder Prophet's routines. Of course this requires the addition of a new script command. So that the author may turn it on, or off, from with in the script.
|
|