summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2023-02-03 00:19:35 +0000
committerJames E Keenan <jkeenan@cpan.org>2023-02-03 00:25:07 +0000
commit02b54f9d07226e99a30271314e02617d5629b511 (patch)
tree63c120d99b0aa8575dee9320e9a4e09d6bae8907 /dist
parent5dd33ebbb550440bb773b780efe02646f3c6b10a (diff)
downloadperl-02b54f9d07226e99a30271314e02617d5629b511.tar.gz
Correct code-like snippet in documentation
Make it a close-bracket to pair with open-bracket. Bump $VERSION in Math-Complex .pm files to keep porting tests happy.
Diffstat (limited to 'dist')
-rw-r--r--dist/Math-Complex/lib/Math/Complex.pm2
-rw-r--r--dist/Math-Complex/lib/Math/Trig.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/dist/Math-Complex/lib/Math/Complex.pm b/dist/Math-Complex/lib/Math/Complex.pm
index e143966249..2c48310fe9 100644
--- a/dist/Math-Complex/lib/Math/Complex.pm
+++ b/dist/Math-Complex/lib/Math/Complex.pm
@@ -10,7 +10,7 @@ package Math::Complex;
{ use 5.006; }
use strict;
-our $VERSION = 1.60;
+our $VERSION = 1.61;
use Config;
diff --git a/dist/Math-Complex/lib/Math/Trig.pm b/dist/Math-Complex/lib/Math/Trig.pm
index 345955ed1c..7370841506 100644
--- a/dist/Math-Complex/lib/Math/Trig.pm
+++ b/dist/Math-Complex/lib/Math/Trig.pm
@@ -15,7 +15,7 @@ require Exporter;
our @ISA = qw(Exporter);
-our $VERSION = 1.60;
+our $VERSION = 1.61;
my @angcnv = qw(rad2deg rad2grad
deg2rad deg2grad
@@ -425,7 +425,7 @@ and the imaginary part of approximately C<-1.317>.
=back
The full circle is 2 I<pi> radians or I<360> degrees or I<400> gradians.
-The result is by default wrapped to be inside the [0, {2pi,360,400}[ circle.
+The result is by default wrapped to be inside the [0, {2pi,360,400}] circle.
If you don't want this, supply a true second argument:
$zillions_of_radians = deg2rad($zillions_of_degrees, 1);