[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Wed Nov 2 23:55:09 UTC 2011


Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2011-November/005056.html

Name: Kernel-nice.647
Ancestors: Kernel-nice.646

Optimize #ln and #log as in Pharo.
1) SmallInteger just inherits from super (^self asFloat log)
2) LargePositiveInteger can avoid self > à guard
3) LargeNegativeInteger can goto Error (no raise, just kidding)
4) Fraction can avoid arithmetic because (a/b) log = (a log - b log) and because a log or b log are unlikely to overflow - (10 raisedTo: (10 raisedTo: 308)) is likely to exhaust your memory before any overflow occurs ;).

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2011-November/005057.html

Name: KernelTests-nice.209
Ancestors: KernelTests-nice.208

Restore the intention of testNaN2 which is to test both = and == (there can be several instances of NaN)
Complete the ScaledDecimalTest (from Pharo) and correct intention (test absolute value of difference).

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2011-November/005058.html

Name: Kernel-eem.648
Ancestors: Kernel-nice.647

First part of changes to restore protection against infinite
recursion on printing circular array literals.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2011-November/005059.html

Name: Collections-eem.464
Ancestors: Collections-ul.463

Second part of changes to restore protection against infinite
recursion on printing circular array literals.  Add a visited set
to Array>shouldBePrintedAsLiteral => shouldBePrintedAsLiteralVisiting:.

=============================================



More information about the Squeak-dev mailing list