From 560e2ea26df94d26aa025dbe0d6f15693963cd9a Mon Sep 17 00:00:00 2001 From: subcrip Date: Thu, 28 Nov 2024 10:23:42 +0000 Subject: [PATCH] Update number/fractional.cc Signed-off-by: subcrip --- number/fractional.cc | 2 ++ 1 file changed, 2 insertions(+) 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; } };