The class shown in
http://rosettacode.org/mw/index.php?title=Arithmetic/Rational&action=edit&section=31
has a problem with 
x=.fraction~new(0)
giving 
    23 *-* numerator /= gcd
       *-* Compiled method NEW with scope "Object"
     1 *-* x=.fraction~new(0)
Error 42 running D:\tfraction.rex line 23:  Arithmetic overflow/underflow
Error 42.3:  Arithmetic overflow; divisor must not be zero   

and when I tried to employ it for the dice game instead of using my own 
procedures
I had ton insert numerous Numeric Digits into the method used
since these don't ingerit the setting of  the invoking program.

I cannot set Numeric Digits for all methods in the class, can I?

Regards
Walter      

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to