summaryrefslogtreecommitdiff
path: root/dist/Math-BigRat
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Math-BigRat')
-rw-r--r--dist/Math-BigRat/lib/Math/BigRat.pm8
-rw-r--r--dist/Math-BigRat/t/bigfltpm.inc2
-rw-r--r--dist/Math-BigRat/t/bigratup.t2
3 files changed, 6 insertions, 6 deletions
diff --git a/dist/Math-BigRat/lib/Math/BigRat.pm b/dist/Math-BigRat/lib/Math/BigRat.pm
index e2619e856d..ad070096c7 100644
--- a/dist/Math-BigRat/lib/Math/BigRat.pm
+++ b/dist/Math-BigRat/lib/Math/BigRat.pm
@@ -6,14 +6,14 @@
# The following hash values are used:
# sign : +,-,NaN,+inf,-inf
# _d : denominator
-# _n : numeraotr (value = _n/_d)
+# _n : numerator (value = _n/_d)
# _a : accuracy
# _p : precision
# You should not look at the innards of a BigRat - use the methods for this.
package Math::BigRat;
-# anythig older is untested, and unlikely to work
+# anything older is untested, and unlikely to work
use 5.006;
use strict;
use Carp ();
@@ -1756,7 +1756,7 @@ in string form.
$len = $x->length();
-Return the length of $x in digitis for integer values.
+Return the length of $x in digits for integer values.
=head2 digit()
@@ -1894,7 +1894,7 @@ Please see the documentation in L<Math::BigInt> for further details.
print $x->bstr(),"\n"; # prints 1/2
print $x->bsstr(),"\n"; # prints 1/2
-Return a string representating this object.
+Return a string representing this object.
=head2 bacmp()/bcmp()
diff --git a/dist/Math-BigRat/t/bigfltpm.inc b/dist/Math-BigRat/t/bigfltpm.inc
index fcc09c75be..9c884b7d9e 100644
--- a/dist/Math-BigRat/t/bigfltpm.inc
+++ b/dist/Math-BigRat/t/bigfltpm.inc
@@ -646,7 +646,7 @@ abc:NaN
-123456E-2:-1234.56
1e1:10
2e-11:0.00000000002
-# excercise _split
+# exercise _split
.02e-1:0.002
000001:1
-00001:-1
diff --git a/dist/Math-BigRat/t/bigratup.t b/dist/Math-BigRat/t/bigratup.t
index a00c655649..a55cbb59ae 100644
--- a/dist/Math-BigRat/t/bigratup.t
+++ b/dist/Math-BigRat/t/bigratup.t
@@ -26,6 +26,6 @@ $x = $rat->new('1/3'); is ($x->bsqrt(),
'1000000000000000000000000000000000000000/1732050807568877293527446341505872366943',
'bsqrt(1/3)');
-# all tests successfull
+# all tests successful
1;