Entering a fixed point number at the st> prompt causes divide by zero error. Is this the expected behavior. Please see below for integer, floating point, scaled decimal, and fixed point entries.

Gary Highberger <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <CAAWCt5zqV7KccfMyZDdM0O=raJwKymUscPYHU46TDBa=Cid+Gg@mail.gmail.com>
st> 1 "integer"
1
st> 1.1e0 "floating point"
1.1
st> 1.1s2 "scaled decimal"
1.10s2
st> 1.1 "fixed point"
Object: 1 error: The program attempted to divide a number by zero
ZeroDivide(Exception)>>signal (ExcHandling.st:254)
SmallInteger(Number)>>zeroDivide (SysExcept.st:1426)
Fraction>>setNumerator:setDenominator: (Fraction.st:485)
Fraction class>>numerator:denominator: (Fraction.st:66)
Fraction>>- (Fraction.st:151)
FloatD(Float)>>printOn:special: (Float.st:533)
FloatD(Float)>>printOn: (Float.st:436)
FloatD(Object)>>printString (Object.st:534)
FloatD(Object)>>printNl (Object.st:571)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.