Metadata-Version: 2.1
Name: ap_int
Version: 0.0.1
Summary: Arbitrary-Precision Python Integers
Author-email: Jingyang Wang <wangjy2010@126.com>
Project-URL: Homepage, https://github.com/cyan-ice/ap-int
Project-URL: Issues, https://github.com/cyan-ice/ap-int/issues
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: COPYING

# ap_int

Python package for Arbitrary-Precision arithmetic.

## Install

Execute `python3 -m pip install ap_int`.

## Contributing

### Testing

1. Clone the Github repo.
2. Make sure you're at the source directory.
3. Execute `python3 test.py`.

## Documentation

### Classes

Arbitrary-Precision integer class.

Usage:
```py
>>> a, b = Integer(114514), Integer('1919810')
>>> a * b
Integer(219845122340)
>>> b // a
Integer(16)
>>> a - b
Integer(-1805296)
>>> a ** b > b ** a
True
>>> a >= b
False
>>> a ^ b
Integer(1897488)
>>> pow(a, b, 10)
Integer(6)
```
