summaryrefslogtreecommitdiff
path: root/mpq
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-11-15 01:11:19 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-11-15 01:11:19 +0100
commitf7fa2e843382fba23fd46d68958ffc8652300b1d (patch)
tree31db0a9dd2ede49ca1c5622378efdf1511e26284 /mpq
parenta0c731b2f4f00407146eaeb29763e388476264e2 (diff)
downloadgmp-f7fa2e843382fba23fd46d68958ffc8652300b1d.tar.gz
Fix lot of spelling errors.
Diffstat (limited to 'mpq')
-rw-r--r--mpq/get_d.c2
-rw-r--r--mpq/set_f.c2
-rw-r--r--mpq/set_si.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mpq/get_d.c b/mpq/get_d.c
index c8f91ca4d..0caefed89 100644
--- a/mpq/get_d.c
+++ b/mpq/get_d.c
@@ -39,7 +39,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
Enhancements:
- Use the true mantissa size in the N_QLIMBS formala, to save a divide step
+ Use the true mantissa size in the N_QLIMBS formula, to save a divide step
in nails.
Examine the high limbs of num and den to see if the highest 1 bit of the
diff --git a/mpq/set_f.c b/mpq/set_f.c
index 692e13c98..ba15844ab 100644
--- a/mpq/set_f.c
+++ b/mpq/set_f.c
@@ -60,7 +60,7 @@ mpq_set_f (mpq_ptr q, mpf_srcptr f)
}
else
{
- /* radix point is within or to the left of the limbs, use demominator */
+ /* radix point is within or to the left of the limbs, use denominator */
mp_ptr num_ptr, den_ptr;
mp_size_t den_size;
diff --git a/mpq/set_si.c b/mpq/set_si.c
index 1bcf329c5..8fe5540a2 100644
--- a/mpq/set_si.c
+++ b/mpq/set_si.c
@@ -1,4 +1,4 @@
-/* mpq_set_si(dest,ulong_num,ulong_den) -- Set DEST to the retional number
+/* mpq_set_si(dest,ulong_num,ulong_den) -- Set DEST to the rational number
ULONG_NUM/ULONG_DEN.
Copyright 1991, 1994, 1995, 2001, 2003 Free Software Foundation, Inc.