Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Floats.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * Lydia Brenner (lbrenner@cern.ch), Carsten Burgard (cburgard@cern.ch)
5 * Katharina Ecker (kecker@cern.ch), Adam Kaluza (akaluza@cern.ch)
6 *
7 * Copyright (c) 2021, CERN
8 *
9 * Redistribution and use in source and binary forms,
10 * with or without modification, are permitted according to the terms
11 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
12 */
13
14#ifndef roofit_roofitcore_RooFit_Floats_h
15#define roofit_roofitcore_RooFit_Floats_h
16
17#ifdef USE_UBLAS
18#include <boost/multiprecision/cpp_dec_float.hpp>
19#endif
20
21#include <limits>
22
23namespace RooFit {
24
25#ifdef USE_UBLAS
26typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<100>> SuperFloat;
27typedef std::numeric_limits<SuperFloat> SuperFloatPrecision;
28#else
29typedef double SuperFloat;
30typedef std::numeric_limits<double> SuperFloatPrecision;
31#endif
32
33} // namespace RooFit
34
35#endif
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition Common.h:18
double SuperFloat
Definition Floats.h:29
std::numeric_limits< double > SuperFloatPrecision
Definition Floats.h:30