summaryrefslogtreecommitdiffstats
path: root/lib/Math/Decimal/FastPP.pm
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-01-17 14:27:38 (EST)
committer P. J. McDermott <pj@pehjota.net>2017-01-17 14:27:38 (EST)
commitb3188cafd15481990ac6ce2ebfb6ff1868efaf97 (patch)
treeebf829cba726d5eb35448bb465c720eacb9fe88b /lib/Math/Decimal/FastPP.pm
parent22c3acc2f403f15cd37d06aba63543ce40504821 (diff)
downloadMath-Decimal-FastPP-b3188cafd15481990ac6ce2ebfb6ff1868efaf97.zip
Math-Decimal-FastPP-b3188cafd15481990ac6ce2ebfb6ff1868efaf97.tar.gz
Math-Decimal-FastPP-b3188cafd15481990ac6ce2ebfb6ff1868efaf97.tar.bz2
Math::Decimal::FastPP: Rename and add POD sections to comply with PBP
Diffstat (limited to 'lib/Math/Decimal/FastPP.pm')
-rw-r--r--lib/Math/Decimal/FastPP.pm30
1 files changed, 25 insertions, 5 deletions
diff --git a/lib/Math/Decimal/FastPP.pm b/lib/Math/Decimal/FastPP.pm
index d9c184f..7de353b 100644
--- a/lib/Math/Decimal/FastPP.pm
+++ b/lib/Math/Decimal/FastPP.pm
@@ -2,6 +2,10 @@
Math::Decimal::FastPP - Fast pure-Perl decimal math
+=head1 VERSION
+
+0.001
+
=head1 SYNOPSIS
use Math::Decimal::FastPP qw(dadd dmul drhtz drhfz);
@@ -66,7 +70,7 @@ with the smaller exponent to make the exponents match. The significands are
then added. The output number is converted from the resulting significand and
the common exponent of the input numbers.
-=head1 FUNCTIONS
+=head1 SUBROUTINES/METHODS
=cut
@@ -217,7 +221,25 @@ sub drhfz
__END__
-=head1 CAVEATS
+=head1 DIAGNOSTICS
+
+This module has no diagnostics.
+
+=head1 CONFIGURATION AND ENVIRONMENT
+
+This module has no configuration and is not affected by the environment.
+
+=head1 DEPENDENCIES
+
+This module does not depend on any modules outside of the standard distribution
+of Perl.
+
+=head1 INCOMPATIBILITIES
+
+Despite the similar name and purpose, this module is not compatible with
+L<Math::Decimal|Math::Decimal>.
+
+=head1 BUGS AND LIMITATIONS
These arithmetic functions preserve all significant fractional digits, including
trailing zeroes. They also don't always add a leading zero before the radix
@@ -235,12 +257,10 @@ Patrick McDermott L<mailto:patrick.mcdermott@libiquity.com>
L<Math::BigFloat|Math::BigFloat>, L<Math::Decimal|Math::Decimal>
-=head1 COPYRIGHT
+=head1 LICENSE AND COPYRIGHT
Copyright (C) 2017 Patrick McDermott
-=head1 LICENSE
-
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or