From 944f90c47ffcde862dfe5f258de0b1ebf229c20e Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Sun, 28 Dec 2025 11:20:32 +0000 Subject: Implement double arithmetic with error bounds. --- ratio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ratio.h') diff --git a/ratio.h b/ratio.h index cf04c6c..56701f3 100644 --- a/ratio.h +++ b/ratio.h @@ -6,6 +6,8 @@ typedef struct {bool s; unsigned long long n; unsigned long long d;} rational; rational convert_int(int); +unsigned int to_exptype(unsigned int); + bool is_greater(rational,rational); rational sum(rational,rational); -- cgit v1.2.3