Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.221.210 Times

Math::GMPq 0.28

Company: Sisyphus
Date Added: November 19, 2013  |  Visits: 377

Math::GMPq

Report Broken Link
Printer Friendly Version


Product Homepage
Download (41 downloads)



Math::GMPq is a bigrational Perl module utilising the Gnu MP (GMP) library. Basically this module simply wraps all of the 'mpq' (rational number) functions provided by that library. The documentation below extensively plagiarises the GMP documentation (which can be found at http://gmplib.org). See also the Math::GMPq test suite for examples of usage.<br /><br />SYNOPSIS<br /><br /> use Math::GMPq qw(:mpq);<br /><br /> my $str = '123542/4'; # numerator = 123542<br /> # denominator = 4<br /> my $base = 10;<br /><br /> # Create the Math::GMPq object<br /> my $bn1 = Rmpq_init(); # Value set to 0/1<br /><br /> # Assign a value.<br /> Rmpq_set_str($str, $base);<br /><br /> # Remove any factors common to both numerator and<br /> # denominator so that gcd(numerator, denominator) == 1.<br /> Rmpq_canonicalize($bn1);<br /><br /> # or just use the new() function:<br /> my $rational = Math::GMPq->new('1234/1179');<br /><br /> # Perform some operations ... see 'FUNCTIONS' below.<br /><br /> .<br /> .<br /><br /> # print out the value held by $bn1 (in octal):<br /> print Rmpq_get_str($bn1, 8), "<br />"; # prints '170513/2'<br /><br /> # print out the value held by $bn1 (in decimal):<br /> print Rmpq_get_str($bn1, 10); # prints '61771/2'.<br /><br /> # print out the value held by $bn1 (in base 29)<br /> # using the (alternative) Rmpq_out_str()<br /> # function. (This function doesn't print a newline.)<br /> Rmpq_out_str($bn1, 29);<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Common Denominator Documentation Factors Function Gcdnumerator Library Mathgmpq Mathgmpq 0 28 Module Numerator Operations Perform Print Prints Rational Rmpq Strbn
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


MATH::GMPQ RELATED
Libraries  -  CoreLinux++ Function Load Library 0.1.1
CoreLinux++ Function Load Library (libclfll++) takes advantage of the abstract Library Load framework in the CoreLinux libclfw++ library by providing management of loading Linux shared libraries. Application developers define function objects as...
93.18 KB  
Libraries  -  JCS common 0.10 Build 20111227
JCS common was specially developed as a library with classes that are common to both the client and the server side of the Jaguar Control System. The base class for launching the system is included in this library. Now you can improve your...
 
Development Tools  -  Common HTML GUI Widgets for HTML Tools 0.2.0
Common HTML GUI Widgets is a library for PHP that is used in every website that uses PHP and MySQL. It may speed up production of websites.It makes coding easier and aids the benefit for possible RAD envionment programs.
174.08 KB  
Development Tools  -  Common HTML GUI Widgets for Scripts 0.2.0
Common HTML GUI Widgets is a library for PHP that is used in every website that uses PHP and MySQL. It may speed up production of websites.It makes coding easier and aids the benefit for possible RAD envionment programs.
174.08 KB  
Libraries  -  HTML::Perlinfo::HTML 1.47
HTML::Perlinfo::HTML Perl module contains HTML documentation for the perlinfo library. SUMMARY NOTE: THIS IS THE LAST RELEASE OF THIS MODULE IN THIS NAMESPACE. WHEN THE NEXT VERSION APPEARS, OLDER VERSIONS WILL BE DELETED FROM CPAN In the...
27.65 KB  
Development Editors  -  NH's Function Point Analyzer 1.0
With NH's Function Point Analyzer it is easy to get a quick and clear documentation of function point countings according to IFPUG (International Function Point Users Group) standard 4.2. While counting, you will record functions and databases in...
778.24 KB  
Development Tools  -  Quantum Game Library 0.7.2c 1.0
The Quantum Game Library (QGL) for PHP aims to centralise common game elements in a component library. It includes Map Computations for Grid/Hex maps, pluggable map generator, Artificial Intelligence algorithms, plugin system and more.
 
Multimedia & Graphics  -  Common Lisp FMOD bindings 0.1.0
CL-FMOD is a set of common lisp bindings to the fmodsound library. The bindings are completely writtenin lisp, with the help of the UFFI commonlisp library for portability.
117.92 KB  
Strategy Games  -  Quantum Game Library for PHP 2.2.0.rc2
The Quantum Game Library (QGL) for PHP aims to centralise common game elements in a component library. Includes Map Computations for Grid/Hex maps, pluggable map generator, Artificial Intelligence algorithms, plugin system and more. Or it will :).
2.27 MB  
Miscellaneous  -  Common HTML GUI Widgets 0.2.0
Common HTML GUI Widgets is a library for PHP that is used in every website that uses PHP and MySQL. It may speed up production of websites. It makes coding easier and aids the benefit for possible RAD envionment programs.
 
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB