diff options
| author | Julian Weigt <juw@posteo.de> | 2025-12-28 11:20:32 +0000 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:55:48 +0100 |
| commit | 944f90c47ffcde862dfe5f258de0b1ebf229c20e (patch) | |
| tree | 0d4ef7dd8a8b97c440dc6abec538403c5726d0fd /ratio.h | |
| parent | e65748fa8908c46ae2e6af7ef63d28fb3427238d (diff) | |
Implement double arithmetic with error bounds.
Diffstat (limited to 'ratio.h')
| -rw-r--r-- | ratio.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |
