On Mar 8, 2006, at 12:13 AM, JesterXL wrote:
Something about how certain numbers are only so big in
Flash Player, and there was talk of porting BigInt from Java.

Far as I know, number accuracy in Flash is +/- 1e16 and no better. I believe that's 32-bit precision.

On Mar 8, 2006, at 10:10 AM, Ron Wheeler wrote:
You could also implement a decimalNumber Class that does its arithmetic in decimal. You need to carry guard digits through calculations to ensure that rounding is done properly. You can make the numbers as large as you want with whatever precision you want.

Not in Flash. Flash is limited in it's numeric accuracy, either with decimal or integers.

That was one of the winning technology bits that IBM had in the 1960s and on. Their mainframe processors (1400,360,370 series) actually supported decimal number format with arithmetic operations that made financial applications easier to deal with and made the COBOL decimal structures work well. This is one of the ways that they dominated the financial world.

Back in the 60s maybe. There wasn't anything else at the time that could do it.

Now, it's not really an issue as numeric accuracy is fairly easy to deal with and there are many different ways to do it in a variety of languages. Flash just isn't suited for it.

- Jon

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to