35 #ifndef OPENMS_CONCEPT_TYPES_H
36 #define OPENMS_CONCEPT_TYPES_H
46 #ifdef OPENMS_HAS_STDINT_H
201 template <
typename FloatingPo
intType>
202 inline Int
writtenDigits(
const FloatingPointType& = FloatingPointType());
208 return std::numeric_limits<float>::digits10;
215 return std::numeric_limits<double>::digits10;
222 return std::numeric_limits<int>::digits10;
229 return std::numeric_limits<unsigned int>::digits10;
236 return std::numeric_limits<int>::digits10;
243 return std::numeric_limits<unsigned int>::digits10;
251 return std::numeric_limits<double>::digits10;
274 #ifndef OPENMS_WINDOWSPLATFORM
275 return std::numeric_limits<long double>::digits10;
278 return std::numeric_limits<double>::digits10;
287 template <
typename FloatingPo
intType>
306 #endif // OPENMS_CONCEPT_TYPES_H
#define OPENMS_INT64_TYPE
Definition: config.h:101
Int writtenDigits< DataValue >(const DataValue &)
DataValue will be printed like double.
Definition: Types.h:249
unsigned int UInt
Unsigned integer type.
Definition: Types.h:88
#define OPENMS_UINT64_TYPE
Definition: config.h:103
Int writtenDigits(const FloatingPointType &=FloatingPointType())
Number of digits commonly used for writing a floating point type (a.k.a. precision). Specializations are defined for float, double, long double.
Definition: Types.h:288
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:128
const char * OpenMS_locale
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:57
Int writtenDigits< float >(const float &)
Number of digits commonly used for writing a float (a.k.a. precision).
Definition: Types.h:206
Int writtenDigits< int >(const int &)
We do not want to bother people who unintentionally provide an int argument to this.
Definition: Types.h:220
Int writtenDigits< long int >(const long int &)
We do not want to bother people who unintentionally provide a long int argument to this...
Definition: Types.h:234
OPENMS_INT32_TYPE Int32
Signed integer type (32bit)
Definition: Types.h:57
ASCII
Definition: Types.h:130
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:71
#define OPENMS_BYTE_TYPE
Definition: config.h:102
Int writtenDigits< unsigned long int >(const unsigned long int &)
We do not want to bother people who unintentionally provide an unsigned long int argument to this...
Definition: Types.h:241
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:121
Int writtenDigits< unsigned int >(const unsigned int &)
We do not want to bother people who unintentionally provide an unsigned int argument to this...
Definition: Types.h:227
OPENMS_INT64_TYPE Int64
Signed integer type (64bit)
Definition: Types.h:64
OPENMS_BYTE_TYPE Byte
Byte type.
Definition: Types.h:105
#define OPENMS_INT32_TYPE
Definition: config.h:100
Int writtenDigits< double >(const double &)
Number of digits commonly used for writing a double (a.k.a. precision).
Definition: Types.h:213
int Int
Signed integer type.
Definition: Types.h:96
Int writtenDigits< long double >(const long double &)
Number of digits commonly used for writing a long double (a.k.a. precision). ...
Definition: Types.h:272
time_t Time
Time type.
Definition: Types.h:80
OPENMS_UINT64_TYPE UID
A unique object ID (as unsigned 64bit type).
Definition: Types.h:114