From: belikov Date: Fri, 20 Feb 2009 16:56:27 +0000 (+0000) Subject: Better values for the constants defining the numerical precision. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=6a7d778444631723db75020c716a41c4f85cbd77;p=u%2Fmrichter%2FAliRoot.git Better values for the constants defining the numerical precision. --- diff --git a/STEER/AliVParticle.h b/STEER/AliVParticle.h index 9ea139f798c..930340689d2 100644 --- a/STEER/AliVParticle.h +++ b/STEER/AliVParticle.h @@ -13,8 +13,10 @@ #include #include -const Double_t kAlmost1=0.999; -const Double_t kAlmost0=1e-33; +#include + +const Double_t kAlmost1=1. - Double_t(FLT_EPSILON); +const Double_t kAlmost0=Double_t(FLT_MIN); const Double_t kB2C=0.299792458e-3; const Double_t kAlmost0Field=1.e-13;