On 7/26/06, Yukihiro Matsumoto <matz / ruby-lang.org> wrote: > In message "Re: [ ruby-Bugs-4970 ] bug in printf" > on Thu, 27 Jul 2006 00:36:47 +0900, "Jacob Fugal" <lukfugl / gmail.com> writes: > > |I'm curious, is there a reason why the former (number is converted, > |but printed with leading '..') is not a bug? I can't see anything in > |the documentation that indicates that those dots should be there... > > Unlike C, Ruby integers does not have artificial limit of 32bits nor > 64bits, so that negative numbers are considered to have sign bits > extended to left side infinite. Those dots denotes the infinite sign > bits. Ok, that makes sense. Should we maybe patch the documentation on Kernel#sprintf to mention those? Jacob Fugal