diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-11-15 01:11:19 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-11-15 01:11:19 +0100 |
commit | f7fa2e843382fba23fd46d68958ffc8652300b1d (patch) | |
tree | 31db0a9dd2ede49ca1c5622378efdf1511e26284 /demos | |
parent | a0c731b2f4f00407146eaeb29763e388476264e2 (diff) | |
download | gmp-f7fa2e843382fba23fd46d68958ffc8652300b1d.tar.gz |
Fix lot of spelling errors.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/expr/README | 2 | ||||
-rw-r--r-- | demos/perl/GMP.pm | 4 | ||||
-rw-r--r-- | demos/perl/typemap | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/demos/expr/README b/demos/expr/README index 2283cd3ff..f80b4d707 100644 --- a/demos/expr/README +++ b/demos/expr/README @@ -474,7 +474,7 @@ Assignment could be an operator attribute, making it expect an lvalue. There would want to be a standard table without assignments available though, so user input could be safely parsed. -The closing parethesis table entry could specify the type of open paren it +The closing parenthesis table entry could specify the type of open paren it expects, so that "(" and ")" could match and "[" and "]" match but not a mixture of the two. Currently "[" and "]" can be added, but there's no error on writing a mixed expression like "2*(3+4]". Maybe also there could diff --git a/demos/perl/GMP.pm b/demos/perl/GMP.pm index 00b676166..3dc6b32ef 100644 --- a/demos/perl/GMP.pm +++ b/demos/perl/GMP.pm @@ -209,7 +209,7 @@ and must be a multiple of $size bytes. C<mpz_export> conversely returns a string of byte data, which will be a multiple of $size bytes. C<invert> returns the inverse, or undef if it doesn't exist. C<remove> -returns a remainder/multiplicty pair. C<root> returns the nth root, and +returns a remainder/multiplicity pair. C<root> returns the nth root, and C<roote> returns a root/bool pair, the bool indicating whether the root is exact. C<sqrtrem> and C<rootrem> return a root/remainder pair. @@ -477,7 +477,7 @@ corresponding GMP function. For example, Arguments to operators and functions are converted as necessary to the appropriate type. For instance C<**> requires an unsigned integer exponent, and an mpq argument will be converted, so long as it's an integer in the -apropriate range. +appropriate range. use GMP::Mpz (mpz); use GMP::Mpq (mpq); diff --git a/demos/perl/typemap b/demos/perl/typemap index 7ad797641..06dc96d7d 100644 --- a/demos/perl/typemap +++ b/demos/perl/typemap @@ -73,7 +73,7 @@ ULONG_COERCE ORDER_NOSWAP assert ($arg != &PL_sv_yes); DUMMY - /* dummy $var */ + /* dummy $var */ CONST_STRING_ASSUME /* No need to check for SvPOKp and use SvPV, this mapping is only used for overload_constant, which always gets literal |