summaryrefslogtreecommitdiff
path: root/charf.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 /charf.c
parentbcd034817c1a95e6048406b70d96c109d4e8b649 (diff)
s/inv_exptype_to_double/exptype_to_double/g
Diffstat (limited to 'charf.c')
-rw-r--r--charf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/charf.c b/charf.c
index fec7c04..88a5d96 100644
--- a/charf.c
+++ b/charf.c
@@ -176,13 +176,13 @@ void format_result(char* s, int index, int k, EXPTYPE p, VALUETYPE r, int format
for(int i=d; i<N; i++) l += sprintf(s+l," ");
char rts[128];
root_to_string(rts,r,p);
- l += sprintf(s+l,"|f^(%d)|_1/%2.1f: %s",k,inv_exptype_to_double(p),rts);
+ l += sprintf(s+l,"|f^(%d)|_1/%2.1f: %s",k,exptype_to_double(p),rts);
}
else if(format == FORMAT_LATEX){
int l = 0;
char v[128];
root_to_latex(v,r,p);
- l += sprintf(s+l,"$%d$ & $\\frac1{%1.0f}$ & %s",k,inv_exptype_to_double(p),v);
+ l += sprintf(s+l,"$%d$ & $\\frac1{%1.0f}$ & %s",k,exptype_to_double(p),v);
for(int i=0; i<d; i++){
valuetype_to_latex(v,f[i]);
l += sprintf(s+l,"& %s ",v);