[Vm-dev] VM Maker: VMMaker.oscog-eem.3145.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Feb 6 17:57:09 UTC 2022


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.3145.mcz

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

Name: VMMaker.oscog-eem.3145
Author: eem
Time: 6 February 2022, 9:56:10.40233 am
UUID: 7a77008d-0c1a-4bcc-8595-0ff2f95dd334
Ancestors: VMMaker.oscog-eem.3144

Simulator: complete simulation of frexp(3); thanks Nicolas!

The previous commit should have mentioned that support for pre-Alien callbacks has been dropped.

=============== Diff against VMMaker.oscog-eem.3144 ===============

Item was changed:
  ----- Method: InterpreterPrimitives>>frexp:_: (in category 'primitive support') -----
  frexp: aFloat _: eptr
  	"Simulate the C library frexp(3) function."
  	<doNotGenerate>
+ 	| exponent |
+ 	exponent := aFloat exponent.
+ 	eptr at: 0 put: exponent.
+ 	^aFloat timesTwoPower: -1 - exponent "a.k.a. aFloat significand / 2"!
- 	eptr at: 0 put: aFloat exponent.
- 	^nil "result unused..."!



More information about the Vm-dev mailing list