11 #include <OpenMS/config.h>
177 template <
typename FloatingPo
intType>
178 inline constexpr
Int writtenDigits(
const FloatingPointType& = FloatingPointType());
184 return std::numeric_limits<float>::digits10;
191 return std::numeric_limits<double>::digits10;
198 return std::numeric_limits<int>::digits10;
205 return std::numeric_limits<unsigned int>::digits10;
212 return std::numeric_limits<int>::digits10;
219 return std::numeric_limits<unsigned int>::digits10;
227 return std::numeric_limits<double>::digits10;
250 #ifndef OPENMS_WINDOWSPLATFORM
251 return std::numeric_limits<long double>::digits10;
254 return std::numeric_limits<double>::digits10;
263 template <
typename FloatingPo
intType>
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:33
int32_t Int32
Signed integer type (32bit)
Definition: Types.h:26
int64_t Int64
Signed integer type (64bit)
Definition: Types.h:40
uint8_t Byte
Byte type.
Definition: Types.h:81
int Int
Signed integer type.
Definition: Types.h:72
uint32_t UInt32
Unsigned integer type (32bit)
Definition: Types.h:33
uint64_t UID
A unique object ID (as unsigned 64bit type).
Definition: Types.h:90
uint64_t UInt64
Unsigned integer type (64bit)
Definition: Types.h:47
unsigned int UInt
Unsigned integer type.
Definition: Types.h:64
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:104
time_t Time
Time type.
Definition: Types.h:56
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
const char * OpenMS_locale
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
ASCII
Definition: Types.h:107
@ ASCII__EXCLAMATION_MARK
Definition: Types.h:120
@ ASCII__HORIZONTAL_TAB
Definition: Types.h:111
@ ASCII__BACKSPACE
Definition: Types.h:108
@ ASCII__RETURN
Definition: Types.h:113
@ ASCII__NEWLINE
Definition: Types.h:112
@ ASCII__SEMICOLON
Definition: Types.h:123
@ ASCII__TAB
Definition: Types.h:115
@ ASCII__COMMA
Definition: Types.h:119
@ ASCII__COLON
Definition: Types.h:118
@ ASCII__BELL
Definition: Types.h:109
@ ASCII__SPACE
Definition: Types.h:114
@ ASCII__POINT
Definition: Types.h:121
@ ASCII__QUESTION_MARK
Definition: Types.h:122
@ ASCII__CARRIAGE_RETURN
Definition: Types.h:110
@ ASCII__VERTICAL_TAB
Definition: Types.h:116
constexpr 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:210
constexpr Int writtenDigits< float >(const float &)
Number of digits commonly used for writing a float (a.k.a. precision).
Definition: Types.h:182
constexpr Int writtenDigits< long double >(const long double &)
Number of digits commonly used for writing a long double (a.k.a. precision). ...
Definition: Types.h:248
constexpr 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:217
constexpr Int writtenDigits< DataValue >(const DataValue &)
DataValue will be printed like double.
Definition: Types.h:225
constexpr Int writtenDigits< double >(const double &)
Number of digits commonly used for writing a double (a.k.a. precision).
Definition: Types.h:189
constexpr 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:203
constexpr Int writtenDigits< int >(const int &)
We do not want to bother people who unintentionally provide an int argument to this.
Definition: Types.h:196
constexpr Int writtenDigits(const FloatingPointType &=FloatingPointType())
Number of digits commonly used for writing a floating point type (a.k.a. precision)....
Definition: Types.h:264