Re: [ROOT] TF1::Eval() in CINT

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Apr 08 2003 - 18:30:25 MEST


Hi Ed,

This problem has benn fixed by Masa in the current version of CINT in CVS.

Rene Brun

Ed Oltman wrote:
> 
> Hello,
>  The behavior of TF1::Eval() has changed when typed at the ROOT Command
> line - it seems be returning long long:
> 
> Version 3.03/9a
> 
> root [2] TF1 *f = new TF1("f","sin(x)",0.,10.)
> root [3] f->Eval(3.)
> (Double_t)1.41120008059867210e-001
> 
> Version 3.05/3
> 
> root [0] TF1 *f = new TF1("f","sin(x)",0., 10.)
> root [1] f->Eval(3.)
> (long long)0
> 
> However, the following printf works, but whats the (long long)9?
> 
> root [2] printf("%f\n",f->Eval(3.))
> 0.141120
> (long long)9
> 
> I use Win2K, binary releases
> 
> Ed



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET