Re: [ROOT] Double_t -- double

From: Lukasz Slusarczyk (lucasso@ds2.uw.edu.pl)
Date: Fri Oct 24 2003 - 18:55:01 MEST


On Fri, 24 Oct 2003, Schaefer Martina wrote:

> can anybody tell me what's the difference between "Double_t" and the 
> normal "double"?

there is no difference, Double_t is alias for double

> In which cases should one use which one, especially if one uses root in 
> a "normal C++ programm" and not in root interactiv or as a macro?

when you want your program be able to compile on both Win and Unix (this
is quite hard to achieve) or your program doesn't use any different
libraries - almost only uses root headers - then use Double_t, yor code
will be more adaptativ
if not - use double

-- 
Łukasz Ślusarczyk
 http://rainbow.mimuw.edu.pl/~lucasso/
 http://508.ds2.uw.edu.pl



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