Main > Programming > Libraries >

Math::GMPz 0.21

Math::GMPz 0.21

Sponsored Links

Math::GMPz 0.21 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 10 (1 times)
File size: 0.048 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 828
Date added: 2007-07-18
Publisher: Math::GMPz team

Math::GMPz 0.21 description

Math::GMPz is a Perl interface to the GMP librarys integer (mpz) functions.

A bignum module utilising the Gnu MP (GMP) library. Basically this module simply wraps nearly all of the integer functions provided by that library. The documentation below extensively plagiarises the documentation at http://swox.com/gmp/manual.

See the Math::GMPz test suite for examples of usage.

SYNOPSIS

use Math::GMPz qw(:mpz :primes :supp);

my $string = fa9eeeeeeeeeeeeea1234dcbaef1;
my $base = 16;

# Create the Math::GMPz object
my $bn1 = Rmpz_init_set_str($string, $base);

# Create another Math::GMPz object that holds
# an initial value of zero, but has enough
# memory allocated to store a 131-bit number.
# If 131 bits turns out to be insufficient, it
# doesnt matter - additional memory is allocated
# automatically to Math::GMPz objects as needed
# by the GMP library.
my $bn2 = Rmpz_init2(131);

# Create another Math::GMPz object initialised to 0.
my $bn3 = Rmpz_init();

# or use the new() function:
my $bn4 = Math::GMPz->new(12345);

# Perform some operations ... see FUNCTIONS below.

.
.

# print out the value held by $bn1 (in octal):
print Rmpz_get_str($bn1, 8), "n";

# print out the value held by $bn1 (in decimal):
print Rmpz_get_str($bn1, 10);

# print out the value held by $bn1 (in base 29)
# using the (alternative) Rmpz_out_str()
# function. (This function doesnt print a newline.)
Rmpz_out_str($bn1, 29);

Math::GMPz 0.21 Screenshot

Advertisements

Math::GMPz 0.21 Keywords

Bookmark Math::GMPz 0.21

Hyperlink code:
Link for forum:

Math::GMPz 0.21 Copyright

WareSeeker periodically updates pricing and software information of Math::GMPz 0.21 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::GMPz 0.21 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Math::Expr is a Perl module that parses mathematical expressions. Free Download
Math::GSL is a Perl module for the GNU Scientific Library. Free Download
Math::CDF is a Perl module to generate probabilities and quantiles from several statistical probability functions. Free Download
Math::BigRat package arbitrary big rational numbers. Free Download
python-gammu are Python bindings for Gammu library. Free Download
Math::String module contains arbitrary sized integers having arbitrary charsets to calculate with key rooms. Free Download
Math::Cephes is a Perl interface to the cephes math library. Free Download
W3Reg is designed as an userfriendly console program (no GUI sorry) for automatically registering web pages to search engines. Free Download