Skip Menu |
 

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 51824
Status: resolved
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: FWIE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.89
Fixed in: (no value)



Subject: [Patch] POD nits
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1258973048-6514-930"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 84
The attached patch fixes some POD, which renders wrong, at least at search.cpan.org.
Subject: pod.patch
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1258973048-6514-929"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/x-patch; name="pod.patch"
Content-Disposition: inline; filename="pod.patch"
Content-Transfer-Encoding: binary
Content-Length: 1985
Download pod.patch
text/x-diff 1.9k
diff --git a/lib/Math/BigFloat.pm b/lib/Math/BigFloat.pm index 27d60b3..4a5068e 100644 --- a/lib/Math/BigFloat.pm +++ b/lib/Math/BigFloat.pm @@ -3905,7 +3905,7 @@ Some routines (C<is_odd()>, C<is_even()>, C<is_zero()>, C<is_one()>, C<is_nan()>) return true or false, while others (C<bcmp()>, C<bacmp()>) return either undef, <0, 0 or >0 and are suited for sort. -Actual math is done by using the class defined with C<with => Class;> (which +Actual math is done by using the class defined with C<< with => Class; >> (which defaults to BigInts) to represent the mantissa and exponent. The sign C</^[+-]$/> is stored separately. The string 'NaN' is used to diff --git a/lib/Math/BigInt.pm b/lib/Math/BigInt.pm index b19b3dc..3ac56ae 100644 --- a/lib/Math/BigInt.pm +++ b/lib/Math/BigInt.pm @@ -3400,7 +3400,7 @@ Value must be greater than zero. Pass an undef value to disable it: $x->accuracy(undef); Math::BigInt->accuracy(undef); -Returns the current accuracy. For C<$x->accuracy()> it will return either the +Returns the current accuracy. For C<< $x->accuracy() >> it will return either the local accuracy, or if not defined, the global. This means the return value represents the accuracy that will be in effect for $x: @@ -3450,7 +3450,7 @@ Pass an undef value to disable it: $x->precision(undef); Math::BigInt->precision(undef); -Returns the current precision. For C<$x->precision()> it will return either the +Returns the current precision. For C<< $x->precision() >> it will return either the local precision of $x, or if not defined, the global. This means the return value represents the prevision that will be in effect for $x: @@ -4654,8 +4654,8 @@ directly. =item * -The private object hash keys like C<$x->{sign}> may not be changed, but -additional keys can be added, like C<$x->{_custom}>. +The private object hash keys like C<< $x->{sign} >> may not be changed, but +additional keys can be added, like C<< $x->{_custom} >>. =item *
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-11060-1284097540-1779.51824-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 126
Download (untitled) / with headers
text/plain 126b
This has now been fixed in in the perl core and will be synced to CPAN shortly. Many thanks for both the report and the patch!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.