summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2022-09-29 16:57:25 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2022-09-29 16:57:25 -0400
commit1d4ad135a43747041afb58f3cce586ceab94e39a (patch)
tree77be34e9832220686800c127969acf5acc6e8f23 /format.h
parented0bcc92f5101043fa9e09a1b7f66f339aaa177b (diff)
clean up code
Diffstat (limited to 'format.h')
-rw-r--r--format.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/format.h b/format.h
index d4d1c8b..519876c 100644
--- a/format.h
+++ b/format.h
@@ -21,13 +21,13 @@ const char caps[2][26] = {
'n','o','p','q','r','s','t','u','v','w','x','y','z'}
};
-double mpow(double b, int e){
+double pow(double b, int e){
if (e==1){
return b;
} else if (e%2==0){
- return mpow(b*b,e/2);
+ return pow(b*b,e/2);
} else {
- return b * mpow(b*b, e/2);
+ return b * pow(b*b, e/2);
}
}