summaryrefslogtreecommitdiff
path: root/strings/strtod.c
diff options
context:
space:
mode:
authorunknown <lenz@kallisto.local>2004-02-18 00:23:16 +0100
committerunknown <lenz@kallisto.local>2004-02-18 00:23:16 +0100
commit4443e76696dff869b22a5705bd9dcbae66d09458 (patch)
treef64befdb586eae2ac4da190cf21368555d4f52d8 /strings/strtod.c
parentfa441ed0858f606ce66a5485c1ba2ba30d26ecde (diff)
downloadmariadb-git-4443e76696dff869b22a5705bd9dcbae66d09458.tar.gz
- fixed C++-style comment in strings/strtod.c which caused a compile
error with the IBM xlc_r compiler strings/strtod.c: - No C++ comments in .c files, please...
Diffstat (limited to 'strings/strtod.c')
-rw-r--r--strings/strtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/strtod.c b/strings/strtod.c
index ea6acbac6c4..63633b6808f 100644
--- a/strings/strtod.c
+++ b/strings/strtod.c
@@ -36,7 +36,7 @@ static double scaler1[] = {
1.0, 10.0, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9
};
-// let's use a static array for not to accumulate the error
+/* let's use a static array for not to accumulate the error */
static double pastpoint[] = {
1e-1, 1e-2, 1e-3, 1e-4, 1e-5, 1e-6, 1e-7, 1e-8, 1e-9,
1e-10, 1e-11, 1e-12, 1e-13, 1e-14, 1e-15, 1e-16, 1e-17, 1e-18, 1e-19,