#include <OpenMS/config.h>
#include <OpenMS/CONCEPT/Types.h>
#include <iostream>
#include <iomanip>
Go to the source code of this file.
|
template<typename FloatingPointType > |
const PrecisionWrapper< FloatingPointType > | precisionWrapper (const FloatingPointType rhs) |
| Wrapper function that sets the appropriate precision for output temporarily. The original precision is restored afterwards so that no side effects remain. This is a "make"-function that deduces the typename FloatingPointType from its argument and returns a PrecisionWrapper<FloatingPointType>. More...
|
|
template<typename FloatingPointType > |
std::ostream & | operator<< (std::ostream &os, const PrecisionWrapper< FloatingPointType > &rhs) |
| Output operator for a PrecisionWrapper. Specializations are defined for float, double, long double. More...
|
|