X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fchart-geometry.c;h=f74c0aaf9ca31a5ef98fef5682c629d436a62c90;hb=dc93fae2746573f1e71d93fbc297b48dc0c32b90;hp=1265a61eb872a1713813d406ba80096251acb916;hpb=6b6ed1de7e41fe0683ec458bf8f455a159a2a653;p=pspp
diff --git a/src/math/chart-geometry.c b/src/math/chart-geometry.c
index 1265a61eb8..f74c0aaf9c 100644
--- a/src/math/chart-geometry.c
+++ b/src/math/chart-geometry.c
@@ -138,7 +138,7 @@ chart_get_ticks_format (const double lower, const double interval,
/* log10(0.2E9) = 8.30, log10(0.5E9) = 8.69, log10(1.0E9) = 9 */
/* 0.2 and 0.5 need one decimal more. For stability subtract 0.1 */
nrdecs = MIN(8,(int)(ceil(logshift-logintv-0.1)));
- format_string = xasprintf("%%.%dlf⋅10%d",nrdecs,logshift);
+ format_string = xasprintf("%%.%dlf×10%d",nrdecs,logshift);
}
}
else /* logmax and logintv are < 0 */
@@ -153,7 +153,7 @@ chart_get_ticks_format (const double lower, const double interval,
{
logshift = (int)logmax-1;
nrdecs = MIN(8,(int)(ceil(logshift-logintv-0.1)));
- format_string = xasprintf("%%.%dlf⋅10%d",nrdecs,logshift);
+ format_string = xasprintf("%%.%dlf×10%d",nrdecs,logshift);
}
}
*scale = pow(10.0,-(double)logshift);