| 416 | { return b == zero ? a : inner_gcd(b, a % b, zero); } |
| 417 | |
| 418 | static BOOST_CONSTEXPR |
| 419 | int_type inner_abs( param_type x, int_type const &zero = int_type(0) ) |
| 420 | { return x < zero ? -x : +x; } |
| 421 | |
| 422 | // Representation note: Fractions are kept in normalized form at all |
| 423 | // times. normalized form is defined as gcd(num,den) == 1 and den > 0. |