## B.9. MathematicsPerl can do just about any kind of mathematics you can dream up. ## B.9.1. Advanced Math FunctionsAll of the basic mathematical functions (square root, cosine, logarithm, absolute value, and many others) are available as built-in functions. See the ## B.9.2. Imaginary and Complex NumbersThough the core of Perl doesn't directly support them, modules are available for working with complex numbers. These overload the normal operators and functions, so you can multiply with ## B.9.3. Large and High-Precision NumbersYou can do math with arbitrarily large numbers with an arbitrary number of digits of accuracy. For example, you could calculate the factorial of 2,000, or determine p to 10,000 digits. See the |

Learning Perl, 5th Edition

ISBN: 0596520107

EAN: 2147483647

EAN: 2147483647

Year: 2003

Pages: 232

Pages: 232

Similar book on Amazon

flylib.com © 2008-2017.

If you may any questions please contact us: flylib@qtcs.net

If you may any questions please contact us: flylib@qtcs.net