units
Use physical dimensions at compile-time or run-time.
Namespaces | Typedefs
rat.hpp File Reference

Typedefs for class vnix::rat::rational. More...

#include <vnix/rat/rational.hpp>
Include dependency graph for rat.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vnix
 Thomas E. Vaughan's public software.
 

Typedefs

template<unsigned NB, unsigned DB>
using vnix::rational = rat::rational< NB, DB >
 Bring class rational into vnix namespace. More...
 
using vnix::rat8_t = rational< 5, 3 >
 Rational with five bits for numerator and three for denominator. More...
 
using vnix::rat16_t = rational< 9, 7 >
 Rational with nine bits for numerator and seven for denominator. More...
 
using vnix::rat32_t = rational< 17, 15 >
 Rational with 17 bits for numerator and 15 for denominator. More...
 
using vnix::rat64_t = rational< 33, 31 >
 Rational with 33 bits for numerator and 31 for denominator. More...
 

Detailed Description

Typedefs for class vnix::rat::rational.

License: BSD Three-Clause; see LICENSE.

Definition in file rat.hpp.