-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Floats.h
26 lines (22 loc) · 999 Bytes
/
Floats.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* -*- mode: c++ -*- *********************************************************
* Project: RooFit *
* *
* authors: *
* Lydia Brenner (lbrenner@cern.ch), Carsten Burgard (cburgard@cern.ch) *
* Katharina Ecker (kecker@cern.ch), Adam Kaluza (akaluza@cern.ch) *
*****************************************************************************/
#ifndef ROO_LAGRANGIAN_MORPH_FLOAT
#define ROO_LAGRANGIAN_MORPH_FLOAT
#ifdef USE_UBLAS
#include <boost/multiprecision/cpp_dec_float.hpp>
#endif
#include <limits>
#ifdef USE_UBLAS
typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<100>>
SuperFloat;
typedef std::numeric_limits<SuperFloat> SuperFloatPrecision;
#else
typedef double SuperFloat;
typedef std::numeric_limits<double> SuperFloatPrecision;
#endif
#endif