From 8145ba753df183f0d48cd6e9cc5a01b215eb31dc Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Fri, 16 Jan 2026 13:41:52 +0100 Subject: Properly use header files and change return type for conversion from bool to int. --- double.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'double.h') diff --git a/double.h b/double.h index 0c42b04..077b4b8 100644 --- a/double.h +++ b/double.h @@ -1,3 +1,6 @@ +#ifndef DOUBLE_H +#define DOUBLE_H + #include double int_to_valuetype(int); @@ -24,6 +27,8 @@ double power(double,double); double to_double(double); -double to_string(char*,double); +int to_string(char*,double); + +int root_to_string(char*,double,double); -double root_to_string(char*,double,double); +#endif -- cgit v1.2.3