> On 31 May 2016, at 11:44 , Holger Freyther wrote:
>
> not with Pharo5:
>
> ((LargePositiveInteger new: 3) digitAdd: SmallInteger maxVal - 10) class
> => SmallInteger
That's a very recent change to the LargeInteger primitives, wasn't in my old
spur vm (a month old
> On 30 May 2016, at 19:03, Henrik Johansen
> wrote:
>
Hi!
> It's starting to come back to me; IIRC, + will normalize results to
> SmallIntegers, digitAdd: will not.
not with Pharo5:
((LargePositiveInteger new: 3) digitAdd: SmallInteger maxVal - 10) class
=>
> On 30 May 2016, at 5:49 , Henrik Johansen
> wrote:
>
> A few more comments below; I'm not seeing the things you describe when
> testing in my image...
>
>>>
>>> | id |
>>> id := LargePositiveInteger.
>>> 1 to: (16777215 + 50) do: [:each |
>>> id := id
> On 30 May 2016, at 5:49 , Henrik Johansen
> wrote:
>>>
>>> PS: The other part is that >>#newCounter doesn't seem to be ever executed.
>>> On first load >>#initialize will call >>#reset and on >>#shutDown: calls
>>> reset. So the code to "randomize" the initial
A few more comments below; I'm not seeing the things you describe when testing
in my image...
>>
>> | id |
>> id := LargePositiveInteger.
>> 1 to: (16777215 + 50) do: [:each |
>> id := id digitAdd: 1].
>> id.
>>
>> Given the comment it should overflow and the value be 50? This is not what
Hi,
I tried to reach the author for several weeks but he doesn't seem to respond so
I am trying to reach a wider audience to either confirm my suspicion or to be
corrected. In
http://smalltalkhub.com/#!/~MongoTalkTeam/mongotalk/diff/Mongo-BSON-HenrikSperreJohansen.43
the following change is