Search results for "module:Math::Decimal"
Math::Decimal - arithmetic in decimal
This module performs basic arithmetic with arbitrary-precision numbers expressed in decimal in ordinary Perl strings. The numbers can be arbitrarily large, and can involve arbitrarily small fractions, and all results are exact. This differs from Perl...
ZEFRAM/Math-Decimal-0.004 - 29 Jul 2017 19:51:04 UTC
Math::SNAFU - decimal to SNAFU converter
SNAFU is defined in <https://adventofcode.com/2022/day/25>....
TOBYINK/Math-SNAFU-0.001 - 25 Dec 2022 13:25:12 UTC
Math::Int2Base - Perl extension for converting decimal (base-10) integers into another number base from base-2 to base-62, and back to decimal.
Math::Int2Base provides * "int2base( $int, $base, $minlen )" for converting from decimal to another number base, * "base2int( $num, $base )" for converting from another base to decimal, and * "base_chars( $base )" for retrieving the string of charact...
BBAXTER/Math-Int2Base-1.01 - 30 Jun 2017 18:20:04 UTC
Math::FixedPrecision - Decimal Math without Floating Point Errors
There are numerous instances where floating point math is unsuitable, yet the data does not consist solely of integers. This module employs new features in Math::BigFloat to automatically maintain precision during math operations. This is a convenien...
JPEACOCK/Math-FixedPrecision-0.21 - 24 May 2002 18:30:34 UTC
Math::SMA - SMA in object form
Implements a simple moving average of N periods with an amortized runtime complexity of < O(n²). <http://en.wikipedia.org/wiki/Moving_average> new Create a new SMA object of $n periods. my $sma = Math::SMA->new(size => $n); sma Add a value to series ...
ESAYM/Math-SMA-0.01 - 15 Jun 2015 19:50:41 UTC
Math::EWMA - EWMA in object form
Implements an exponential moving average with a weight of $alpha in object form. <http://en.wikipedia.org/wiki/Moving_average> new Create a new EWMA object with alpha $n. my $ewma = Math::EWMA->new(alpha => $n); An alpha value of 2/(N+1) is roughly e...
ESAYM/Math-EWMA-0.03 - 20 May 2015 21:51:32 UTC
Math::Yapp - Perl extension for working with Polynomials. Yes, I know there are *many!* Polynomial packages. And like them, I started it for (geeky) fun, then got obsessed with it as a learning experience. Enjoy!
Man, if that synopsis don't say it all, what can I possibly add? :-) OK, as mentioned above, this is a fun project. The plan, not necessarily all implemented at the first release, is to provide many kinds of operations on the polynomials that intimid...
JASALOMON/Math-Yapp-1.07 - 26 Feb 2017 21:40:36 UTC
Math::PRBS - Generate Pseudorandom Binary Sequences using an iterator-based Linear Feedback Shift Register
This module will generate various Pseudorandom Binary Sequences (PRBS). This module creates a iterator object, and you can use that object to generate the sequence one value at a time, or *en masse*. The generated sequence is a series of 0s and 1s wh...
PETERCJ/Math-PRBS-v0.004 - 15 Jun 2018 23:36:53 UTC
Math::Int64 - Manipulate 64 bits integers in Perl
This module adds support for 64 bit integers, signed and unsigned, to Perl. Exportable functions int64() int64($value) Creates a new int64 value and initializes it to $value, where $value can be a Perl number or a string containing a number. For inst...
SALVA/Math-Int64-0.57 - 21 Jan 2024 21:12:00 UTC
Math::SigDig
Math::SigDig is a module that provides methods to round a number to a specified number of significant digits and count the number of significant digits. It trims leading zeros. It counts, but trims trailing zeros after a decimal point, unless the pad...
ROBLEACH/Math-SigDig-1.0 - 06 May 2014 21:32:36 UTC
Math::BigInt - arbitrary size integer math package
Math::BigInt provides support for arbitrary precision integers. Overloading is also provided for Perl operators. Input Input values to these routines may be any scalar number or string that looks like a number and represents an integer. Anything that...
PJACKLAM/Math-BigInt-2.003002 - 06 Jan 2024 12:38:23 UTC
Math::BigRat - arbitrary size rational number math package
Math::BigRat complements Math::BigInt and Math::BigFloat by providing support for arbitrary big rational numbers. MATH LIBRARY You can change the underlying module that does the low-level math operations by using: use Math::BigRat try => 'GMP'; Note:...
PJACKLAM/Math-BigInt-2.003002 - 06 Jan 2024 12:38:23 UTC
Math::BaseCnv - basic functions to CoNVert between number Bases
BaseCnv provides a few simple functions for converting between arbitrary number bases. You're probably better off using Michael Robinton's Math::Base::Convert benchmarked high-performance Perl modules. Another object syntax for number-base conversion...
PIP/Math-BaseCnv-1.14 - 30 Jul 2016 12:06:39 UTC
Math::Revhash - Reverse hash computation library
This module is intended for fast and lightweight numbers reversible hashing. Say there are millions of entries inside RDBMS and each entry identified with sequential primary key. Sometimes we want to expose this key to users, i.e. in case it is a ses...
ZHMYLOVE/Math-Revhash-0.03 - 07 Aug 2020 21:49:31 UTC
Math::Clipper - Polygon clipping in 2D
"Clipper" is a C++ (and Delphi) library that implements polygon clipping. Exports The module optionally exports a few constants to your namespace. Standard Exporter semantics apply (including the ":all" tag). The list of exportable constants is compr...
SHELDRAKE/Math-Clipper-1.29 - 17 May 2019 07:01:25 UTC
Math::FastGF2 - Perl extension for fast Galois Field arithmetic
This module provides an interface for performing single modulo arithmetic operations on Galois Field polynomials in GF(2^8), GF(2^16) and GF(2^32). All values to be operated on are simple Perl numeric scalars which are taken to represent polynomials ...
DMALONE/Math-FastGF2-0.07 - 13 Sep 2019 14:09:19 UTC
Math::BaseCalc - Convert numbers between various bases
This module facilitates the conversion of numbers between various number bases. You may define your own digit sets, or use any of several predefined digit sets. The to_base() and from_base() methods convert between Perl numbers and strings which repr...
KWILLIAMS/Math-BaseCalc-1.019 - 08 Jun 2017 05:28:22 UTC
Math::BigFloat - arbitrary size floating point math package
Math::BigFloat provides support for arbitrary precision floating point. Overloading is also provided for Perl operators. All operators (including basic math operations) are overloaded if you declare your big floating point numbers as $x = Math::BigFl...
PJACKLAM/Math-BigInt-2.003002 - 06 Jan 2024 12:38:23 UTC