| 1 |
Source: libmath-nocarry-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Damyan Ivanov <[email protected]>, |
| 4 |
gregor herrmann <[email protected]> |
| 5 |
Section: perl |
| 6 |
Testsuite: autopkgtest-pkg-perl |
| 7 |
Priority: optional |
| 8 |
Build-Depends: debhelper-compat (= 13) |
| 9 |
Build-Depends-Indep: libtest-pod-coverage-perl <!nocheck>, |
| 10 |
libtest-pod-perl <!nocheck>, |
| 11 |
perl |
| 12 |
Standards-Version: 4.7.2 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmath-nocarry-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmath-nocarry-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Math-NoCarry |
| 16 |
Rules-Requires-Root: no |
| 17 |
|
| 18 |
Package: libmath-nocarry-perl |
| 19 |
Architecture: all |
| 20 |
Multi-Arch: foreign |
| 21 |
Depends: ${misc:Depends}, |
| 22 |
${perl:Depends} |
| 23 |
Description: Perl module for no carry arithmetic |
| 24 |
The perl module Math::NoCarry implememnts no carry arithmetic which |
| 25 |
doesn't allow you to carry digits to the next column. For example, |
| 26 |
if you add 8 and 4, you normally expect the answer to be 12, but that |
| 27 |
1 digit is a carry. In no carry arithmetic you can't do that, so the |
| 28 |
sum of 8 and 4 is just 2. In effect, this is addition modulo 10 in |
| 29 |
each column. The following example discards all of the carry digits: |
| 30 |
. |
| 31 |
1234 |
| 32 |
+ 5678 |
| 33 |
------ |
| 34 |
6802 |
| 35 |
. |
| 36 |
For multiplication, the result of pair-wise multiplication |
| 37 |
of digits is the modulo 10 value of their normal, everyday |
| 38 |
multiplication. |