From 0cdd21e9cd45c0957e3e7ba3515ac5d1eb79d337 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Sat, 17 Jan 2026 20:58:49 +0100 Subject: s/inv_exptype_to_double/exptype_to_double/g --- ratio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratio.c') 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; -- cgit v1.2.3