No, there is no operator overloading in AS3. But neither in Java afaik.
Cheers,
Ralf.

On 8/8/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm running into these issues also. I'm considering porting the java
> BigInteger class to Flex (or at least part of it). Does anyone know if
> this has been done already?
>
> I have a question, is it possible to implement functions for the
> operators? For instance == or + or - ?  This is something I wondered
> about previously, but it seems even more important when implementing a
> numeric class like BigInteger.
>
> thanks,
> Thunder
>
>
>
> --- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote:
> >
> > If someone wants to tackle this, I'm pretty sure we'd distribute it on
> > Labs if you wanted to make it available to the AS3 community.
> >
> >
> >
> > - Gordon
> >
> >
> >
> > ________________________________
> >
> > From: [email protected] [mailto:[EMAIL PROTECTED] On
> > Behalf Of Spike
> > Sent: Tuesday, February 21, 2006 2:56 PM
> > To: [email protected]
> > Subject: Re: [flexcoders] Handling VERY large numbers in Flex
> >
> >
> >
> > It might be possible to port the Java BigInteger class to AS3. The Java
> > source code is available, so it ought to be possible to see fairly
> > quickly whether it could work or not.
> >
> > Spike
> >
> > On 2/21/06, Niklas Richardson <[EMAIL PROTECTED]> wrote:
> >
> > Crap!
> >
> > I thought as much after reading something about ColdFusion and large
> > integers and having to use the Java BigInt class.
> >
> > Oh well.  I wonder whether 15 significant decimal digits will be enough!
> > ;) haha!
> >
> > Cheers
> >
> > Niklas
> >
> >
> >
> > On 2/21/06, Gordon Smith < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > > wrote:
> >
> > You have a problem... a Number can't store more than 15 or 16
> > significant decimal digits. If you need more, you're going to have to
> > write or acquire the equivalent of a BigInteger class, which would
> > probably use arbitrarily long Strings to store arbitrarily large
> > integers.
> >
> >
> >
> > - Gordon
> >
> >
> >
> > ________________________________
> >
> > From: [email protected] [mailto:[EMAIL PROTECTED] On
> > Behalf Of Niklas Richardson
> > Sent: Tuesday, February 21, 2006 10:09 AM
> > To: Flex Coders
> > Subject: [flexcoders] Handling VERY large numbers in Flex
> >
> >
> >
> > Hi all,
> >
> > We're building an app that requires taking as input very large integers
> > (e.g. 22222222222222222222, that's 20 '2's).
> >
> > However, Flash is converting that to exponential notation
> > (2.22222222222222e+19).
> >
> > However, we don't want it to go into exponential notation.
> >
> > Has anyone else had to deal with very large integers in Flash?  If so,
> > how have you dealt with it from a UI prospective and also from a data
> > validation prospective.
> >
> > Do you treat them as strings, and then convert them to Numbers before
> > validation, etc...?
> >
> > Any suggestions would be grately received.
> >
> > Cheers
> >
> > Niklas
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >
> > SPONSORED LINKS
> >
> > Web site design development
> > <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> > site+design+development&w2=Computer+software+development&w3=Software+des
> > ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
> >
> > Computer software development
> > <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> > b+site+design+development&w2=Computer+software+development&w3=Software+d
> > esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
> >
> > Software design and development
> > <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
> > Web+site+design+development&w2=Computer+software+development&w3=Software
> > +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
> >
> > Macromedia flex
> > <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> > development&w2=Computer+software+development&w3=Software+design+and+deve
> > lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>
> >
> > Software development best practice
> > <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;
> > w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> > are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> >
> >
> >
> >
> >
> > ________________________________
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >
> > *      Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >
> > *      To unsubscribe from this group, send an email to:
> >         [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>  .
> >
> >
> >
> > ________________________________
> >
> >
> >
> >
> >
> >
> >
> > --
> > Niklas Richardson
> > Prismix Ltd
> >
> > UK based Flex and ColdFusion Specialists
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >
> > SPONSORED LINKS
> >
> > Web site design development
> > <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> > site+design+development&w2=Computer+software+development&w3=Software+des
> > ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
> >
> > Computer software development
> > <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> > b+site+design+development&w2=Computer+software+development&w3=Software+d
> > esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
> >
> > Software design and development
> > <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
> > Web+site+design+development&w2=Computer+software+development&w3=Software
> > +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
> >
> > Macromedia flex
> > <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> > development&w2=Computer+software+development&w3=Software+design+and+deve
> > lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>
> >
> > Software development best practice
> > <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;
> > w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> > are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> >
> >
> >
> >
> >
> > ________________________________
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >
> > *      Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >
> > *      To unsubscribe from this group, send an email to:
> >         [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>  .
> >
> >
> >
> > ________________________________
> >
> >
> >
> >
> > --
> > --------------------------------------------
> > Stephen Milligan
> > Do you do the Badger?
> > http://www.yellowbadger.com
> >
> > Do you cfeclipse? http://www.cfeclipse.org
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >
> > SPONSORED LINKS
> >
> > Web site design development
> > <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> > site+design+development&w2=Computer+software+development&w3=Software+des
> > ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
> >
> > Computer software development
> > <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> > b+site+design+development&w2=Computer+software+development&w3=Software+d
> > esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
> >
> > Software design and development
> > <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
> > Web+site+design+development&w2=Computer+software+development&w3=Software
> > +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
> >
> > Macromedia flex
> > <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> > development&w2=Computer+software+development&w3=Software+design+and+deve
> > lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>
> >
> > Software development best practice
> > <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;
> > w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> > are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> >
> >
> >
> >
> >
> > ________________________________
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >
> > *      Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >
> > *      To unsubscribe from this group, send an email to:
> >        [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> > ________________________________
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to