[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Bug, float is printed wrongly

From: bill-auger
Subject: Re: [Help-smalltalk] Bug, float is printed wrongly
Date: Sat, 11 Aug 2018 16:25:04 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

on debian 9:

$ gst
st> x := 1e-4
Object: 1 error: The program attempted to divide a number by zero
ZeroDivide(Exception)>>signal (
SmallInteger(Number)>>zeroDivide (
Fraction>>setNumerator:setDenominator: (
Fraction class>>numerator:denominator: (
Fraction>>- (
FloatE(Float)>>printOn:special: (
FloatE(Float)>>printOn: (
FloatE(Object)>>printString (
FloatE(Object)>>printNl (

$ gst --version
GNU Smalltalk version 3.2.5
Copyright 2009 Free Software Foundation, Inc.
Written by Steve Byrne (address@hidden) and Paolo Bonzini (address@hidden)

GNU Smalltalk comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Smalltalk under the terms of the
GNU General Public License.  For more information, see the file named

Using default kernel path: /usr/share/gnu-smalltalk/kernel
Using default image path: /usr/lib/gnu-smalltalk

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]