From 3cff2acc8eec95183fe4cd3dcc3a3bf30b37ce66 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Sun, 28 Dec 2025 15:40:34 +0000 Subject: Add root_to_string function to enable printing of roots. --- ratio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ratio.h') diff --git a/ratio.h b/ratio.h index 5899cfa..cd50c8e 100644 --- a/ratio.h +++ b/ratio.h @@ -28,3 +28,5 @@ rational power(rational,unsigned int); double to_double(rational); bool to_string(char*,rational r); + +bool root_to_string(char*,rational r,unsigned int); -- cgit v1.2.3