Re: TMath::Nint

Fons Rademakers (Fons.Rademakers@cern.ch)
Fri, 30 Apr 1999 10:54:26 +0000


Nint for negative values has been fixed.

Cheers, Fons.

Jacek M. Holeczek wrote:
>
> Dear Valery,
> > Hello Jasek, I know who.
> ^^^^^
> > His name is Jasek, ( ... )
> ^^^^^
> Thank God, it wasn't me ( Jacek ).
> > Instead he wasted a lot of time of many thousand ( ... )
> Well, I'd rather say I didn't want to prevent you to have the fun ( which
> I had after I "wasted a lot of time" fighting with my code ) to discover :
> TMath::Nint(-5) -> -4
> or even a much better fun :
> TMath::Nint(-3.6) -> -3
> TMath::Nint(-3.5) -> -4
> TMath::Nint(-3.4) -> -2
> Jacek.
> P.S. If you create a "patch", could you also, please, send it to me.
> Thanks in advance, Jacek.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910