Cpp Utilities 1.2.3
Namespaces | Functions
Ratios.hpp File Reference
#include <utility>
#include <cstdint>
#include <cmath>
#include "../Common.h"

Go to the source code of this file.

Namespaces

namespace  Dimensional
 Namespace for all classes, typedefs and functions of dimensional analyse. See Dimensional Analysis for more instrucion.
 

Functions

std::pair< intmax_t, intmax_t > Dimensional::approximateRatio (long double value, int n)
 Calculate approximate fraction from input decimal. More...