On Feb 16, 2004, at 3:12 AM, ts wrote: >>>>>> "n" == nobu nokada <nobu.nokada / softhome.net> writes: > > n> $ ruby -v -e'puts sprintf("%08b",0),RUBY_VERSION' > > moulon% ruby -ve 'puts sprintf("%08b",0),RUBY_VERSION' > ruby 1.8.1 (2003-12-25) [sparc-solaris2.7] > 11111110 > 1.8.1 > moulon% > > > Guy Decoux > > Hmmmm... I hadn't thought to check 1.8, but I had it hanging around, too, so: mark@imac% /usr/local-old/bin/ruby -ve 'puts sprintf("%08b",0)' ruby 1.8.0 (2003-08-04) [powerpc-darwin] 11111110 there we are! I hadn't noticed that bug before, but then I guess I don't convert to binary strings very often...