#include "RooFit.h"
#include "RooNumber.h"
ClassImp(RooNumber)
;
#ifdef HAS_NUMERIC_LIMITS
#include <numeric_limits.h>
Double_t RooNumber::_Infinity= numeric_limits<Double_t>::infinity();
#else
Double_t RooNumber::_Infinity= 1.0e30 ;
#endif
Double_t RooNumber::infinity()
{
return _Infinity ;
}
Int_t RooNumber::isInfinite(Double_t x)
{
return (x >= +_Infinity) ? +1 : ((x <= -_Infinity) ? -1 : 0);
}
Last change: Tue May 13 17:05:32 2008
Last generated: 2008-05-13 17:05
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.