Differences between current version and previous revision of perlop(1).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Tuesday, June 4, 2002 12:22:37 am | by perry | |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:22:37 am | by perry | Revert |
@@ -1951,18 +1951,18 @@
__Bigger Numbers__
-The standard Math::BigInt and Math::BigFloat modules provide
+The standard Math::!
BigInt and Math::!
BigFloat modules provide
variable-precision arithmetic and overloaded operators,
although they're currently pretty slow. At the cost of some
space and considerable speed, they avoid the normal pitfalls
associated with limited-precision
representations.
- use Math::BigInt;
-$x = Math::BigInt-
+ use Math::!
BigInt;
+$x = Math::!
BigInt-
# prints +15241578780673678515622620750190521
There are several modules that let you calculate with (bound only by memory and cpu-time) unlimited or fixed precision. There are also some non-standard modules that provide faster implementations via external C libraries.
@@ -1970,15 +1970,15 @@
Math::Fraction big, unlimited fractions like 9973 / 12967
Math::String treat string sequences like numbers
-Math::FixedPrecision calculate with a fixed precision
+Math::!
FixedPrecision calculate with a fixed precision
Math::Currency for currency calculations
Bit::Vector manipulate bit vectors fast (uses C)
-Math::BigIntFast Bit::Vector wrapper for big numbers
+Math::!
BigIntFast Bit::Vector wrapper for big numbers
Math::Pari provides access to the Pari C library
-Math::BigInteger uses an external C library
+Math::!
BigInteger uses an external C library
Math::Cephes uses external Cephes C library (no big numbers)
Math::Cephes::Fraction fractions via the Cephes library
Math::GMP another one using an external C library
Choose wisely.
----