[squeak-dev] Roassal3 tests: (BoxedFloat64 infinity) >= 1 -> false

gettimothy gettimothy at zoho.com
Fri Oct 23 11:27:54 UTC 2020


Ok, what Tom said must have been the issue.



I Downloaded and configured a new linux  image from http://files.squeak.org/trunk/Squeak6.0alpha-20010-64bit/



Name

Last Modified

Size

Type



http://files.squeak.org/trunk//

 

-  

Directory


http://files.squeak.org/trunk/Squeak6.0alpha-20010-64bit/Squeak6.0alpha-20010-64bit-202003021730-Linux.zip

2020-10-22 15:24

35.3M

File


http://files.squeak.org/trunk/Squeak6.0alpha-20010-64bit/Squeak6.0alpha-20010-64bit-202003021730-Windows.zip

2020-10-22 15:24

34.1M

File


http://files.squeak.org/trunk/Squeak6.0alpha-20010-64bit/Squeak6.0alpha-20010-64bit-202003021730-macOS.dmg

2020-10-22 15:24

29.4M

File


http://files.squeak.org/trunk/Squeak6.0alpha-20010-64bit/Squeak6.0alpha-20010-64bit-All-in-One.zip

2020-10-22 15:24

39.7M

File


http://files.squeak.org/trunk/Squeak6.0alpha-20010-64bit/Squeak6.0alpha-20010-64bit.zip

2020-10-22 15:24

19.1M

File






then ran: 
BoxedFloat64 infinity Infinity





(BoxedFloat64 infinity) >= 1 true





(BoxedFloat64 infinity) < 1 false




Sorry for the noise.


---- On Thu, 22 Oct 2020 16:06:55 -0400 Vanessa Freudenberg <mailto:vanessa at codefrau.net> wrote ----


What does "BoxedFloat64 infinity print?



And what VM are you on? 32 or 64 bits?



FWIW, it works fine on this VM:



Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2715] 64 bit
Mac OS X built on Mar  3 2020 08:28:30 GMT Compiler: 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)
platform sources revision VM: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96 Plugins: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-nice.2715 uuid: 78e2f556-9829-42fe-963d-e19dfc43c0e9 Mar  3 2020
StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020



- Vanessa -



On Thu, Oct 22, 2020 at 7:51 AM gettimothy via Squeak-dev <mailto:squeak-dev at lists.squeakfoundation.org> wrote:

Hi folks,



Version: Squeak6.0alphaUpdate: 20010




Working through the Roassal3 tests  

in RSAbstractAnimation>>loops: aNumber

self assert: aNumber >= 1 description: 'The number of times to repeat this animation'.    <----test fails here.

loops := aNumber



aNumber is Infinity (inspecting displays a Boxed Float)



Poking around a bit...



(BoxedFloat64 infinity) >= 1  -> false




then....



(BoxedFloat64 infinity) < 1 ->true




Is this expected?



If so, suggestions on how  I should I make the test reflect reality?



thx in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201023/e9a2a5f7/attachment.html>


More information about the Squeak-dev mailing list