What version of gst are you running? I running 3.2.91, and I get: st> 1.1 “fixed point” 1.1 … Sent from Mail for Windows 10 From: Gary Highberger 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) |
- Entering a fixed point number at the st> prompt causes ... Gary Highberger
- RE: Entering a fixed point number at the st> promp... Mark Bratcher
- Re: Entering a fixed point number at the st> p... Gary Highberger
