[squeak-dev] Code Jeopardy

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed May 4 12:57:14 UTC 2016


Anyway, there is Decimal in ScaledDecimal, so any specification of decimal
places other than base 10 may end up being surprising.

2016-05-04 14:37 GMT+02:00 Bert Freudenberg <bert at freudenbergs.de>:

>
> > On 04.05.2016, at 13:32, Tobias Pape <Das.Linux at gmx.de> wrote:
> >
> > Hi all,
> >
> > without executing, what does the following expression result in?
> >
> > #(
> > 25rFFs2
> > 26rFFs2
> > 27rFFs2
> > 28rFFs2
> > 29rFFs2
> > 30rFFs2
> > 31rFFs2
> > 32rFFs2
> > )
> >
> > Best regards
> >       -Tobias
>
>
> Interesting.
>
> 16rFFe4 used to be 16711680, now it’s 65508. Try these:
>
> #(
> 10r1e4
> 11r1e4
> 12r1e4
> 13r1e4
> 14r1e4
> 15r1e4
> 16r1e4
> 17r1e4
> 18r1e4
> )
>
> Maybe we need to raise an error for certain combinations? Better than a
> surprise.
>
> - Bert -
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160504/0c7cc19d/attachment.htm


More information about the Squeak-dev mailing list