[Top][All Lists]

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

[Help-smalltalk] Float printString?

From: Robert Kuszinger
Subject: [Help-smalltalk] Float printString?
Date: Wed, 6 Jul 2016 10:44:04 +0200


I've made a script to perform GRASS GIS operations automatically.
It was running for weeks nicely.

Today it emerged:

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>>raisedToInteger: (
SmallInteger(Number)>>raisedToInteger: (
FloatD(Float)>>printOn:special: (
FloatD(Float)>>printOn: (
*FloatD(Object)>>printString (*
FloatD(Object)>>printStringIfNecessary (
optimized [] in UndefinedObject>>executeStatements (
Array(SequenceableCollection)>>do: (
UndefinedObject>>executeStatements (

So, somehow float cannot print itself anymore.
Maybe there was an upgrade of *gst *in the background...

*GNU Smalltalk version 3.2.91-716884a[...]Using default kernel path:
/usr/share/smalltalk/kernelUsing default image path: /var/lib/smalltalk*
*OS:* Linux kuszidell 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST
2016 x86_64 GNU/Linux

Transcript showCr: 'Lejtés: ',quo printStringIfNecessary.

printStringifNecessaey is my wrapper for printString not to print extra '
for Strings...

I wouldn't dare to instpect and touch float code and this may reach others
as well...


reply via email to

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