Message: GEANT4.4.0 - ROOT 3.02/07 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question GEANT4.4.0 - ROOT 3.02/07 

Keywords: GEANT ROOT math.h TMath.h isnan finite IsNaN Finite probleme
Forum: Documentation and Examples
Date: 17 Jun, 2002
From: Valentin Kozlov <>


I have some strange troubles with GEANT4.4.0 - ROOT 3.02/07 combination. I have a program which works in the following cases: 1) GEANT4.3.2 - ROOT 3.01/06 2) GEANT4.3.2 - ROOT 3.02/07 (!) 3) GEANT4.4.0 - ROOT 3.01/06 (!) but not in GEANT4.4.0 - ROOT 3.02/07... And the error message is:

/usr/local/root.302/include/TMath.h: In function `static Int_t TMath::Finite(double)': /usr/local/root.302/include/TMath.h:391: `finite' undeclared (first use this function) /usr/local/root.302/include/TMath.h:391: (Each undeclared identifier is reported only once /usr/local/root.302/include/TMath.h:391: for each function it appears in.) /usr/local/root.302/include/TMath.h:391: warning: control reaches end of non-void function `TMath::Finite(double)' /usr/local/root.302/include/TMath.h: In function `static Int_t TMath::IsNaN(double)': /usr/local/root.302/include/TMath.h:394: `isnan' undeclared (first use this function) /usr/local/root.302/include/TMath.h:394: warning: control reaches end of non-void function `TMath::IsNaN(double)'

as I understand the functions "finite" and "isnan" are discribed in math.h as well as "log,sin,cos,..." but there is no probleme with them and there is the probleme with "isnan" and "finite". I had a look on TMath.h file of ROOT and compared the version 3.01/06 and 3.02/07. The difference is that these "IsNaN" and "Finite" functions were added. But still 3.02/07 works Ok with GEANT4.3.2

What can it be?

Best regards, Valentin Kozlov

P.S. I am using SuSE 7.2 Linux with gcc version 2.95.3 20010315 (SuSE)

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: GEANT4.4.0 - ROOT 3.02/07   (Valentin Kozlov - 17 Jun, 2002)
 Add Message Add Message
to: "GEANT4.4.0 - ROOT 3.02/07"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]