diff --git a/number/fractional.cc b/number/fractional.cc index 1f42c47..c302579 100644 --- a/number/fractional.cc +++ b/number/fractional.cc @@ -40,4 +40,6 @@ struct fractional { x = l + fractional(r, divisor); return in; } + template >::type> + inline U into(void) const { return U(p) / q; } };