[ROOT] TF1 formula evaluates incorrectly

From: Robert Vogel (robert_vogel@msn.com)
Date: Fri Jun 20 2003 - 21:45:57 MEST


Running 3.04/02 on Redhat Linux 7.3.

My TF1 formula does not evaluate correctly, while the explicit formula
using CINT does:

root [0] TF1 f1("myf1","exp(-x)",0,150)
root [1] f1.Eval(71)
(Double_t)0.00000000000000000e+00
root [2] exp(-71)
(double)1.46248622725123092e-31
root [3]

Any suggestions?

Robert Vogel

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



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