home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

8.106 Math::BigInt

Allows use of arbitrary length integers, where the following apply to all methods, except as noted:

  • The object $i remains unchanged.

  • Big integer strings ( bint s) have the form /^\s*[+-]?[\d\s]+$/ .

  • All methods except bcmp return a big integer string or strings.

  • Embedded whitespace is ignored.

  • Output values are always in the canonical form: /^[+-]\d+$/ .

  • The return value NaN results when an input argument is not a number, or when a divide by zero is attempted.

Previous: 8.105 Math::BigFloat Perl in a Nutshell Next: 8.107 Math::Complex
8.105 Math::BigFloat Book Index 8.107 Math::Complex

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.