From 9c9fe1a6e373ab174667314d5be29c6822894f54 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Tue, 14 Jun 2016 02:08:28 +0200 Subject: Fix typos in various parts of the code. --- source/fitz/ftoa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz/ftoa.c') 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; -- cgit v1.2.3