units
Use physical dimensions at compile-time or run-time.
|
Typedefs for class vnix::rat::rational. More...
#include <vnix/rat/rational.hpp>
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... | |
Typedefs for class vnix::rat::rational.
Definition in file rat.hpp.