summaryrefslogtreecommitdiff
path: root/py/formatfloat.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-10-03 11:24:50 +1100
committerDamien George <damien@micropython.org>2023-10-03 11:24:50 +1100
commitcf490a70917a1b2d38ba9b58e763e0837d0f7ca7 (patch)
treefd460c9323dd46b4466193fc56dc319cbf717c77 /py/formatfloat.c
parent9d5d2e8cf71321b4ba41bad127bf0ea0ff24ccbf (diff)
all: Fix various spelling mistakes found by codespell 2.2.6.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/formatfloat.c')
-rw-r--r--py/formatfloat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/formatfloat.c b/py/formatfloat.c
index 050d3a9df..7cd471018 100644
--- a/py/formatfloat.c
+++ b/py/formatfloat.c
@@ -230,7 +230,7 @@ int mp_format_float(FPTYPE f, char *buf, size_t buf_size, char fmt, int prec, ch
}
} else {
// Build positive exponent.
- // We don't modify f at this point to avoid innaccuracies from
+ // We don't modify f at this point to avoid inaccuracies from
// scaling it. Instead, we find the product of powers of 10
// that is not greater than it, and use that to start the
// mantissa.