summaryrefslogtreecommitdiff
path: root/source/fitz/ftoa.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-06-14 02:08:28 +0200
committerSebastian Rasmussen <sebras@gmail.com>2016-06-14 02:10:24 +0200
commit9c9fe1a6e373ab174667314d5be29c6822894f54 (patch)
treed3649b24e3e7afee05c5cb71b4e25aff66a8c3a5 /source/fitz/ftoa.c
parent4d7bf58d137d884e4eb0e81fd576031f069105cb (diff)
downloadmupdf-9c9fe1a6e373ab174667314d5be29c6822894f54.tar.xz
Fix typos in various parts of the code.
Diffstat (limited to 'source/fitz/ftoa.c')
-rw-r--r--source/fitz/ftoa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/ftoa.c b/source/fitz/ftoa.c
index 4ec492e9..a16a9346 100644
--- a/source/fitz/ftoa.c
+++ b/source/fitz/ftoa.c
@@ -1,7 +1,7 @@
#include "mupdf/fitz.h"
/*
- Convert IEEE single precison numbers into decimal ASCII strings, while
+ Convert IEEE single precision numbers into decimal ASCII strings, while
satisfying the following two properties:
1) Calling strtof or '(float) strtod' on the result must produce the
original float, independent of the rounding mode used by strtof/strtod.
@@ -166,7 +166,7 @@ static int
k_comp(int n)
{
/* Avoid ceil and floating point multiplication for better
- * performace and portability. Instead use the approximation
+ * performance and portability. Instead use the approximation
* log10(2) ~ 1233/(2^12). Tests show that this gives the correct
* result for all values of n in the range -500..500. */
int tmp = n + DIY_SIGNIFICAND_SIZE - 1;