<primitive: VMprFloatExp>

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

<primitive: VMprFloatExp>

Postby pepe4321 » Thu Sep 10, 2009 9:48 am

Hi.
I found something very strange.
I am testing this:
Code: Select all
     | aFloat array|
   array := #(12 69 61 78 58 182 225 63).
   aFloat := Float basicNew: 8.
   1 to: 8 do: [: index |   aFloat basicAt: (index) put: (array at: index)].
   ^aFloat exp


Result in version 6.0.3:
1.73932063818719 = [123 89 164 224 65 212 251 63]

Result in version 6.0.4:
1.73932063818719 = [122 89 164 224 65 212 251 63]

Result in version 8:
1.73932063818719 = [123 89 164 224 65 212 251 63]

I think that may be there is a problem in the 6.0.4 VM with the primitive: VMprFloatExp.

Thanks,
Juan
pepe4321
 
Posts: 2
Joined: Tue Jul 21, 2009 7:38 am

Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest