Math::NoCarry 1.10
Sponsored Links
Math::NoCarry 1.10 Ranking & Summary
File size:
0.005 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
807
Date added:
2007-08-08
Publisher:
brian d foy
Math::NoCarry 1.10 description
Math::NoCarry is a Perl extension for no carry arithmetic.
SYNOPSIS
use Math::NoCarry;
my $sum = Math::NoCarry::add( 123, 456 );
my $difference = Math::NoCarry::subtract( 123, 456 );
my $product = Math::NoCarry::multiply( 123, 456 );
No carry arithmetic doesnt allow you to carry digits to the next column. For example, if you add 8 and 4, you normally expect the answer to be 12, but that 1 digit is a carry. In no carry arithmetic you cant do that, so the sum of 8 and 4 is just 2. In effect, this is addition modulo 10 in each column. I discard all of the carry digits in this example:
1234
+ 5678
------
6802
For multiplication, the result of pair-wise multiplication of digits is the modulo 10 value of their normal, everyday multiplication.
123
x 456
-----
8 6 x 3
2 6 x 2
6 6 x 1
5 5 x 3
0 5 x 2
5 5 x 1
2 4 x 3
8 4 x 2
+ 4 4 x 1
-------
43878
Since multiplication and subtraction are actually types of additions, you can multiply and subtract like this as well.
No carry arithmetic is both associative and commutative.
SYNOPSIS
use Math::NoCarry;
my $sum = Math::NoCarry::add( 123, 456 );
my $difference = Math::NoCarry::subtract( 123, 456 );
my $product = Math::NoCarry::multiply( 123, 456 );
No carry arithmetic doesnt allow you to carry digits to the next column. For example, if you add 8 and 4, you normally expect the answer to be 12, but that 1 digit is a carry. In no carry arithmetic you cant do that, so the sum of 8 and 4 is just 2. In effect, this is addition modulo 10 in each column. I discard all of the carry digits in this example:
1234
+ 5678
------
6802
For multiplication, the result of pair-wise multiplication of digits is the modulo 10 value of their normal, everyday multiplication.
123
x 456
-----
8 6 x 3
2 6 x 2
6 6 x 1
5 5 x 3
0 5 x 2
5 5 x 1
2 4 x 3
8 4 x 2
+ 4 4 x 1
-------
43878
Since multiplication and subtraction are actually types of additions, you can multiply and subtract like this as well.
No carry arithmetic is both associative and commutative.
Math::NoCarry 1.10 Screenshot
Math::NoCarry 1.10 Keywords
NoCarry
NoCarry 1.10
Carry arithmetic
perl extension
For No
carry
X
arithmetic
4
2
5
Math::NoCarry
MathNoCarry
Math::NoCarry 1.10
Libraries
Programming
Bookmark Math::NoCarry 1.10
Math::NoCarry 1.10 Copyright
WareSeeker periodically updates pricing and software information of Math::NoCarry 1.10 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Math::NoCarry 1.10 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
carry trade
cash and carry
carry on bags
carry on luggage size
carry on regulations
tsa carry on restrictions
arithmetic teacher
carry underwood
how much is a 2005 carry
perl extension implementing
concealed carry
devilu0027s arithmetic
carry on luggage
arithmetic encoding
perl extensions
carrie underwood
carryon
carry on my wayward son
Related Software
Math::TotalBuilder is a Perl module to build a whole total out of valued pieces. Free Download
RPN is a Perl extension for Reverse Polish Math Expression Evaluation. Free Download
Math::Vec is a Object-Oriented Vector Math Methods in Perl. Free Download
Math::Pari is a Perl interface to PARI. Free Download
Math::Roman contains arbitrary sized Roman numbers and conversion from and to Arabic. Free Download
Math::BaseArith is a Perl extension for mixed-base number representation (like APL encode/decode). Free Download
Math::CDF is a Perl module to generate probabilities and quantiles from several statistical probability functions. Free Download
MathWar project is a flashcard math game for kids. Free Download
Latest Software
Popular Software
Favourite Software