units
Use physical dimensions at compile-time or run-time.
|
Definition of vnix::rat::common_denom. More...
Go to the source code of this file.
Classes | |
class | vnix::rat::rational< NB, DB > |
Model of a fixed-precision rational number. More... | |
struct | vnix::rat::common_denom_params< NB1, DB1, NB2, DB2 > |
Least common denominator (LCD) and corresponding numerators for the comparison of a pair of rational numbers. More... | |
struct | vnix::rat::common_denom_params< NB1, DB1, NB2, DB2 > |
Least common denominator (LCD) and corresponding numerators for the comparison of a pair of rational numbers. More... | |
Namespaces | |
vnix | |
Thomas E. Vaughan's public software. | |
vnix::rat | |
Classes and functions supporting a model of a fixed-precision rational number. | |
Functions | |
template<unsigned NB1, unsigned DB1, unsigned NB2, unsigned DB2> | |
constexpr common_denom_params< NB1, DB1, NB2, DB2 > | vnix::rat::common_denom (rational< NB1, DB1 > r1, rational< NB2, DB2 > r2) |
Compute least common denominator and corresponding numerators for the comparison of a pair of rational numbers. More... | |
Definition of vnix::rat::common_denom.
Definition in file common-denom.hpp.