summaryrefslogtreecommitdiff
path: root/ratio.c
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2026-01-17 20:58:49 +0100
committerJulian Weigt <juw@posteo.de>2026-02-04 15:56:44 +0100
commit0cdd21e9cd45c0957e3e7ba3515ac5d1eb79d337 (patch)
tree9945c96c253390cadad503fa695b813c34e80113 /ratio.c
parentbcd034817c1a95e6048406b70d96c109d4e8b649 (diff)
s/inv_exptype_to_double/exptype_to_double/g
Diffstat (limited to 'ratio.c')
-rw-r--r--ratio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratio.c b/ratio.c
index b25b221..ecc20fb 100644
--- a/ratio.c
+++ b/ratio.c
@@ -129,7 +129,7 @@ rational power(rational r, unsigned int p){
return s;
}
-double inv_exptype_to_double(int r){ return 1.0/((double)r); }
+double exptype_to_double(int r){ return (double)r; }
double valuetype_to_double(rational r){
double i;