summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--double-error.c2
-rw-r--r--ratio.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/double-error.c b/double-error.c
index 16c7e1e..1ab0aec 100644
--- a/double-error.c
+++ b/double-error.c
@@ -23,7 +23,7 @@ double_error int_to_exptype(double d){
}
bool to_string(char* s, double_error de){
- sprintf(s,"%f +/- %6.1e",de.v,de.e);
+ sprintf(s,"%f… +/- %6.1e",de.v,de.e);
return true;
}
diff --git a/ratio.c b/ratio.c
index 747aeab..3bb5ef3 100644
--- a/ratio.c
+++ b/ratio.c
@@ -137,12 +137,12 @@ double to_double(rational r){
bool to_string(char* s, rational r){
double f = to_double(r);
- sprintf(s,"%llu / %llu = %f +/- %6.1e",r.n,r.d,f,f*DBL_EPSILON);
+ sprintf(s,"%llu / %llu = %f… +/- %6.1e",r.n,r.d,f,f*DBL_EPSILON);
return true;
}
bool root_to_string(char* s, rational r, unsigned int p){
double f = pow(to_double(r),1.0/p);
- sprintf(s,"(%llu / %llu)^1/%i = %f +/- %6.1e",r.n,r.d,p,f,2*DBL_EPSILON*f);
+ sprintf(s,"(%llu / %llu)^1/%i = %f… +/- %6.1e",r.n,r.d,p,f,2*DBL_EPSILON*f);
return true;
}