Numbers. (but completely different)

Ned Konz ned at bike-nomad.com
Sat Apr 10 00:28:05 UTC 2004


On Friday 09 April 2004 2:15 pm, Alan Grimes wrote:

> How about this: We simply output to Transcript a notation that "this
> method could probably be coded better with >> n instead of / 2^n "
> whenever it finds such a case, in all other cases it should respect the
> programmer's intent. =(((((((((((((((

But if you use >>1 you don't get sign extension (necessarily; I believe this 
is left undefined by the C standard).

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list