CNL  2.0.2 (development)
Compositional Numeric Library
named.h File Reference

essential named definitions related to the cnl::scaled_integer type More...

#include "../num_traits/rep_of.h"
#include "../num_traits/tag_of.h"
#include "../scaled/power.h"
#include <algorithm>

Go to the source code of this file.

Classes

struct  cnl::fraction< Numerator, Denominator >
 numeric type represented as the fraction, numerator / denominator More...
 

Namespaces

 cnl
 compositional numeric library
 

Functions

template<typename Value >
constexpr auto cnl::make_scaled_integer (Value const &value)
 makes a scaled_integer object from a given value More...
 
template<class Dividend , class Divisor >
constexpr auto cnl::quotient (Dividend const &dividend, Divisor const &divisor)
 calculates the quotient of two scaled_integer values More...
 

Detailed Description

essential named definitions related to the cnl::scaled_integer type