From b7835be8db1d6d2ef60bbe9e972cb708c0fee8c0 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Sun, 18 Jan 2026 13:28:25 +0100 Subject: =?UTF-8?q?Allow=20p=3D=E2=88=9E=20in=20program=20and=20adjust=20a?= =?UTF-8?q?nd=20generalize=20printing=20accordingly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- double-error.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'double-error.h') diff --git a/double-error.h b/double-error.h index d89b9b8..dbfe283 100644 --- a/double-error.h +++ b/double-error.h @@ -7,7 +7,11 @@ typedef struct {double v; double e;} double_error; double_error int_to_valuetype(int); -double_error int_to_exptype(double); +double_error int_to_exptype(int); + +double_error infinity_to_exptype(); + +bool exptype_is_infinite(double_error); bool is_greater_certainly(double_error,double_error); @@ -29,12 +33,14 @@ double_error power(double_error,double_error); double valuetype_to_double(double_error); -double exptype_to_double(double_error); - int valuetype_to_string(char*,double_error); int valuetype_to_latex(char*,double_error); +int exptype_to_string(char*,double_error); + +int exptype_to_latex(char*,double_error); + int root_to_string(char*,double_error,double_error); int root_to_latex(char*,double_error,double_error); -- cgit v1.2.3