On Wed, Mar 14, 2007 at 01:31:32AM +0900, Daniel Berger wrote:
> On Mar 13, 5:08 am, Mark Somerville <m... / pccl.info> wrote:
> > Hello,
> >
> > Can anyone tell me if this is a bug? It certainly seems like it to me.
> >
> > >> BigDecimal.new("-.31").to_s
> >
> > => "0.31"
> >
> > $ ruby -v
> > ruby 1.8.5 (2006-12-04 patchlevel 2) [x86_64-linux]
> 
> Looks like a bug to me. I think it's in the VpToString() function
> being called by the BigDecimal_to_s() function. I'm not positive,
> though, as the code is long and ugly.
> 
> Please submit a bug report to ruby-core.

Sure, done.

Mark