| 427 | BOOST_CXX14_CONSTEXPR void normalize(); |
| 428 | |
| 429 | static BOOST_CONSTEXPR |
| 430 | bool is_normalized( param_type n, param_type d, int_type const &zero = |
| 431 | int_type(0), int_type const &one = int_type(1) ) |
| 432 | { |
| 433 | return d > zero && ( n != zero || d == one ) && inner_abs( inner_gcd(n, |
| 434 | d, zero), zero ) == one; |
| 435 | } |
| 436 | // |
| 437 | // Conversion checks: |
| 438 | // |
no test coverage detected