BoosterSeat
0.1
A C++ library that includes common utilities that are used in other projects.
|
#include <cmath>
#include <iomanip>
#include <sstream>
Go to the source code of this file.
Namespaces | |
bst | |
Functions | |
double | bst::doubleToPrecisionTwo (double) |
Rounds a double to two decimal places. For example: 1.2345 -> 1.23. More... | |
bool | bst::isApproxEqual (double a, double b, double epsilon) |
Just a simple function to compare two doubles by a given epsilon. More... | |
bool | bst::isApproxEqualPercent (const double a, const double b, const double percent) |
std::string | bst::rndTs (double d, int precision) |