#include <boost/math/common_factor.hpp>
Include dependency graph for static_rational.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | mcs |
namespace | mcs::units |
Classes | |
struct | mcs::units::static_abs< Value > |
compile time absolute value More... | |
class | mcs::units::static_rational< N, D > |
compile time rational number More... | |
struct | mcs::units::static_negate< static_rational< N, D > > |
negate rational number More... | |
struct | mcs::units::static_add< static_rational< N1, D1 >, static_rational< N2, D2 > > |
add rational numbers More... | |
struct | mcs::units::static_subtract< static_rational< N1, D1 >, static_rational< N2, D2 > > |
subtract rational numbers More... | |
struct | mcs::units::static_multiply< static_rational< N1, D1 >, static_rational< N2, D2 > > |
multiply rational numbers More... | |
struct | mcs::units::static_divide< static_rational< N1, D1 >, static_rational< N2, D2 > > |
divide rational numbers More... | |
Typedefs | |
typedef long | mcs::units::integer_type |
Functions | |
template<class T, integer_type N, integer_type D> | |
T | mcs::units::value (const static_rational< N, D > &r) |
Definition in file static_rational.hpp.
Generated on Mon Apr 2 22:25:06 2007 for physical_svn by 1.5.1-p1 | hosted on |