![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
The integer type a Rational stores its parts in; any other type is its own answer. More...
#include <rational.hpp>
Public Types | |
| using | type = T |
The integer type a Rational stores its parts in; any other type is its own answer.
This is the type an exact fraction collapses to once it is known to be whole, which is what makes it the natural default result type for an operation that hands back integers extracted from rational coordinates.
| using pgl::rational_int< T >::type = T |