Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:27

0001 /*
0002  * Project: RooFit
0003  * Authors:
0004  *   Lydia Brenner (lbrenner@cern.ch), Carsten Burgard (cburgard@cern.ch)
0005  *   Katharina Ecker (kecker@cern.ch), Adam Kaluza      (akaluza@cern.ch)
0006  *
0007  * Copyright (c) 2021, CERN
0008  *
0009  * Redistribution and use in source and binary forms,
0010  * with or without modification, are permitted according to the terms
0011  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
0012  */
0013 
0014 #ifndef roofit_roofitcore_RooFit_Floats_h
0015 #define roofit_roofitcore_RooFit_Floats_h
0016 
0017 #ifdef USE_UBLAS
0018 #include <boost/multiprecision/cpp_dec_float.hpp>
0019 #endif
0020 
0021 #include <limits>
0022 
0023 namespace RooFit {
0024 
0025 #ifdef USE_UBLAS
0026 typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<100>> SuperFloat;
0027 typedef std::numeric_limits<SuperFloat> SuperFloatPrecision;
0028 #else
0029 typedef double SuperFloat;
0030 typedef std::numeric_limits<double> SuperFloatPrecision;
0031 #endif
0032 
0033 } // namespace RooFit
0034 
0035 #endif