[GemStone-Smalltalk] #asInteger truncates instead of rounding
Federico Mennite
federico.mennite at lifeware.ch
Thu Jan 30 11:25:11 PST 2014
Hi,
We are also working with VisualWorks who is also truncating.
Of course we'd prefer to have the same behavior in both dialects but we
could also reimplement the new method to the old behavior.
We'd like to ask however if you could make sure that the system classes
aren't going to rely on it...
Best Regards,
Federico
On 30.01.2014 19:58, Richard Sargent wrote:
> As some of you may have noticed, #asInteger truncates. ANSI Smalltalk
> specifies that it should round. Consequently, we are considering changing
> this with the other ANSI compatibility changes we are making for the 3.2
> release.
>
> I would like to know whether anyone is relying on the the truncation
> behaviour or would rather we do not change this.
>
>
> Thanks,
> Richard
>
>
>
> --
> View this message in context: http://forum.world.st/asInteger-truncates-instead-of-rounding-tp4740457.html
> Sent from the Gemstone/S mailing list archive at Nabble.com.
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
--
Federico Mennite
Software Engineer
Lifeware SA Web: http://www.lifeware.ch
More information about the GemStone-Smalltalk
mailing list