summaryrefslogtreecommitdiff
path: root/ratio.h
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2026-01-07 20:03:55 +0000
committerJulian Weigt <juw@posteo.de>2026-02-04 15:55:50 +0100
commit48a934bb57524c589bfe69653058cca8e3be0a96 (patch)
tree75660dd34f6000f3afc06e71bf9d0c88558a1a7d /ratio.h
parentc599e6b5c5bb1890311caf169d58eea97a12c9d6 (diff)
Give int conversion functions better names.
Diffstat (limited to 'ratio.h')
-rw-r--r--ratio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratio.h b/ratio.h
index cd50c8e..1f54781 100644
--- a/ratio.h
+++ b/ratio.h
@@ -4,9 +4,9 @@
typedef struct {bool s; unsigned long long n; unsigned long long d;} rational;
-rational convert_int(int);
+rational int_to_valuetype(int);
-unsigned int to_exptype(unsigned int);
+unsigned int int_to_exptype(unsigned int);
bool is_greater(rational,rational);