[squeak-dev] 2 bugs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] 2 bugs

vaidasd
1000 log asInteger => 2.0
I stumbled upon this in 3.7

and Method Finder not works; when I enter  10. 1000. and click on "log" method, I get an error, log is attached
Vaidas






SqueakDebug.log (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] 2 bugs

Randal L. Schwartz
>>>>> "Vaidotas" == Vaidotas Didžbalis <[hidden email]> writes:

Vaidotas> 1000 log asInteger => 2.0

Unfortunately, that's probably not fixable.  The number is probably
2.999999-ish, so as an integer, it gets truncated to 2.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion