commits | 11 Jun 2012 02:00
Favicon

The Trunk: Kernel-fbs.698.mcz

Frank Shearar uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-fbs.698.mcz

==================== Summary ====================

Name: Kernel-fbs.698
Author: fbs
Time: 11 June 2012, 9:12:51.486 pm
UUID: ceb4e4d0-4031-429d-9001-dd4dc44258ac
Ancestors: Kernel-fbs.697, Kernel-nice.694

Remerge Kernel-nice.694:

Protect floorLog: 2 for case of exceptional float values (because exponent does not)
Change exponent primitive fallback code to avoid a recursion with floorLog2:
Note that I created a separate selector #exponentFromBitPattern for handling fallback, because it's
easier to test.

=============== Diff against Kernel-fbs.697 ===============

Item was changed:
  ----- Method: Float>>exponent (in category 'truncation and round off') -----
  exponent
  	"Primitive. Consider the receiver to be represented as a power of two
  	multiplied by a mantissa (between one and two). Answer with the
  	SmallInteger to whose power two is raised. Optional. See Object
  	documentation whatIsAPrimitive."

- 	| positive |
  	<primitive: 53>
(Continue reading)


Gmane