summaryrefslogtreecommitdiff
path: root/lib/Math
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-27 01:13:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-27 01:13:12 +0000
commitbce7c187b66ad52160782f333b43d4d4e451bcee (patch)
treec081ec296b2c7f40583eebad77a3bf50d750d093 /lib/Math
parenta2e4e9f161d80feb29dcfab4b98f62a5d150f977 (diff)
downloadperl-bce7c187b66ad52160782f333b43d4d4e451bcee.tar.gz
s/rationale/rational/
p4raw-id: //depot/perl@15538
Diffstat (limited to 'lib/Math')
-rw-r--r--lib/Math/BigRat.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Math/BigRat.pm b/lib/Math/BigRat.pm
index 7330577e66..8a4f816c8a 100644
--- a/lib/Math/BigRat.pm
+++ b/lib/Math/BigRat.pm
@@ -6,7 +6,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;
@@ -47,7 +47,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();
@@ -293,7 +293,7 @@ sub _bzero
sub badd
{
- # add two rationales
+ # add two rationals
my ($self,$x,$y,$a,$p,$r) = objectify(2,@_);
$x = $class->new($x) unless $x->isa($class);
@@ -328,7 +328,7 @@ sub badd
sub bsub
{
- # subtract two rationales
+ # subtract two rationals
my ($self,$x,$y,$a,$p,$r) = objectify(2,@_);
$x = $class->new($x) unless $x->isa($class);
@@ -364,7 +364,7 @@ sub bsub
sub bmul
{
- # multiply two rationales
+ # multiply two rationals
my ($self,$x,$y,$a,$p,$r) = objectify(2,@_);
$x = $class->new($x) unless $x->isa($class);
@@ -723,7 +723,7 @@ __END__
=head1 NAME
-Math::BigRat - arbitrarily big rationales
+Math::BigRat - arbitrarily big rationals
=head1 SYNOPSIS