Re: Bug, float is printed wrongly
bill-auger <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.gnu.general |
|---|---|
| Message-ID | <[email protected]> |
on debian 9: $ gst st> x := 1e-4 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) FloatE(Float)>>printOn:special: (Float.st:533) FloatE(Float)>>printOn: (Float.st:436) FloatE(Object)>>printString (Object.st:534) FloatE(Object)>>printNl (Object.st:571) $ gst --version GNU Smalltalk version 3.2.5 Copyright 2009 Free Software Foundation, Inc. Written by Steve Byrne ([email protected]) and Paolo Bonzini ([email protected]) 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 COPYING. Using default kernel path: /usr/share/gnu-smalltalk/kernel Using default image path: /usr/lib/gnu-smalltalk _______________________________________________ help-smalltalk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+8xa10IRl7erpyhTkIcQkT6Md3gFAltvRiAACgkQkIcQkT6M d3gxawgApE5LXqGtMrQ6aaxvQw99wOdW5E2MFZCDVvYnUapSFNwp0llcoEPV7lNv 5pE9gKtjd95JrB+QiBwQA4iTyecRJaAL+AND7dZjsRkPIY+ExeOGMmz8b+IVZ328 V5s6mJBvs4N0Ocqwps2kWGOYSBEVkCHxQtkXSHY/1Lqne5sXrQHhgl7Quk2YKaJH 3zkVqJp5cmeouSfSuVfO2r+MJlbHCXsCdN9h2fOyJcHEv8tOTolDa1Dk6MPbQ9lT mWmrUQfUZI4R0+tKyk2m/+a9cRmlRWlEu2N0iS+ZNhLns96lf9zC9mAgZGf9Rj3s aPhJ0OSObay3kqwDD7h+SjC0lIKvCg== =ULnU -----END PGP SIGNATURE-----