summaryrefslogtreecommitdiff
path: root/strings/dtoa.c
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-02-24 12:42:13 -0500
committerSergey Vojtovich <svoj@mariadb.org>2018-04-05 15:26:57 +0400
commit3dd01669b41bfad75f4a785d6263eb0f729b0213 (patch)
tree5305ec00d62be464b111583d32618bf4c0371000 /strings/dtoa.c
parent7c689300317793d1396b7a24f86452882d3180c2 (diff)
downloadmariadb-git-3dd01669b41bfad75f4a785d6263eb0f729b0213.tar.gz
Misc. typos
Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/`
Diffstat (limited to 'strings/dtoa.c')
-rw-r--r--strings/dtoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/dtoa.c b/strings/dtoa.c
index 7b560227026..ec0d2a9143d 100644
--- a/strings/dtoa.c
+++ b/strings/dtoa.c
@@ -269,7 +269,7 @@ size_t my_gcvt(double x, my_gcvt_arg_type type, int width, char *to,
Assume that we don't have enough space to place all significant digits in
the 'f' format. We have to choose between the 'e' format and the 'f' one
to keep as many significant digits as possible.
- Let E and F be the lengths of decimal representaion in the 'e' and 'f'
+ Let E and F be the lengths of decimal representation in the 'e' and 'f'
formats, respectively. We want to use the 'f' format if, and only if F <= E.
Consider the following cases:
1. decpt <= 0.