summaryrefslogtreecommitdiff
path: root/lib/Math
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-24 07:45:47 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-24 07:45:47 +0000
commitb1f79218ec4085dd37a8c687ca7893705be7bf8f (patch)
tree8e7262dab485daf07b93e6ca718c5b278ec9ac6a /lib/Math
parent7a14265758b4ef00ab896fa51326b0060fb453e5 (diff)
downloadperl-b1f79218ec4085dd37a8c687ca7893705be7bf8f.tar.gz
s/rationale/rational/g on bigrats.
p4raw-id: //depot/perl@20864
Diffstat (limited to 'lib/Math')
-rw-r--r--lib/Math/BigRat.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Math/BigRat.pm b/lib/Math/BigRat.pm
index 993c2a4ddc..2b5796f18a 100644
--- a/lib/Math/BigRat.pm
+++ b/lib/Math/BigRat.pm
@@ -9,7 +9,7 @@
# _n : numeraotr (value = _n/_d)
# _a : accuracy
# _p : precision
-# _f : flags, used by MBR to flag parts of a rationale as untouchable
+# _f : flags, used by MBR to flag parts of a rational as untouchable
package Math::BigRat;
@@ -56,7 +56,7 @@ sub isa
sub _new_from_float
{
- # turn a single float input into a rationale (like '0.1')
+ # turn a single float input into a rational (like '0.1')
my ($self,$f) = @_;
return $self->bnan() if $f->is_nan();
@@ -365,7 +365,7 @@ sub _bzero
sub badd
{
- # add two rationales
+ # add two rationals
# set up parameters
my ($self,$x,$y,@r) = (ref($_[0]),@_);
@@ -410,7 +410,7 @@ sub badd
sub bsub
{
- # subtract two rationales
+ # subtract two rationals
# set up parameters
my ($self,$x,$y,@r) = (ref($_[0]),@_);
@@ -454,7 +454,7 @@ sub bsub
sub bmul
{
- # multiply two rationales
+ # multiply two rationals
# set up parameters
my ($self,$x,$y,@r) = (ref($_[0]),@_);
@@ -1132,7 +1132,7 @@ __END__
=head1 NAME
-Math::BigRat - arbitrarily big rationales
+Math::BigRat - arbitrarily big rationals
=head1 SYNOPSIS
@@ -1146,7 +1146,7 @@ Math::BigRat - arbitrarily big rationales
=head1 DESCRIPTION
Math::BigRat complements Math::BigInt and Math::BigFloat by providing support
-for arbitrarily big rationales.
+for arbitrarily big rationals.
=head2 MATH LIBRARY