|
Honeycomb
0.1
Component-Model Framework
|
Class to hold compile-time finite rational numbers, ie. the fraction num / den. More...
#include <Ratio.h>
Classes | |
| struct | add |
| operator+ More... | |
| struct | div |
| operator/ More... | |
| struct | equal |
| operator== More... | |
| struct | greater |
| operator> More... | |
| struct | greaterEqual |
| operator>= More... | |
| struct | less |
| operator< More... | |
| struct | lessEqual |
| operator<= More... | |
| struct | mul |
| operator* More... | |
| struct | notEqual |
| operator!= More... | |
| struct | sub |
| operator- More... | |
Static Public Attributes | |
| static const int64 | num = Num * mt::sign<Den>::value / mt::gcd<Num,Den>::value |
| static const int64 | den = mt::abs<Den>::value / mt::gcd<Num,Den>::value |
Friends | |
| struct | Ratio |
Class to hold compile-time finite rational numbers, ie. the fraction num / den.
|
friend |
|
static |
|
static |
1.8.10