summaryrefslogtreecommitdiff
path: root/double-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'double-error.h')
-rw-r--r--double-error.h12
1 files changed, 9 insertions, 3 deletions
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);