Skip to main content

Advanced mathematical operations with arbitrary-precision arithmetic.

Project description

GenAIMath

GenAIMath is a Python library for advanced mathematical operations using arbitrary-precision arithmetic. It provides functions for arithmetic, roots, powers, factorials, gamma function, logarithms, and more.

Features

  • Arbitrary-precision arithmetic
  • Advanced mathematical functions
  • Easy-to-use API

Installation

You can install GenAIMath via pip (after publishing to PyPI):

pip install genaimath

Usage

from genaimath import AINumber, sqrt, cbrt, factorial, gamma, ln

a = AINumber("10")
b = AINumber("20")
print(f"{a} + {b} = {a + b}")
print(f"Square root of {a} = {sqrt(a)}")
print(f"Factorial of {a} = {factorial(a)}")

Testing

Run tests with:

python -m unittest discover tests

License

MIT License

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Author

SoftwareApkDev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genaimath-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genaimath-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file genaimath-0.1.0.tar.gz.

File metadata

  • Download URL: genaimath-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for genaimath-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c3411a05207dcde7c36f8821b30a57678da950f0f44698c8d2609a1f18d19029
MD5 bf49034a7f59c8b48e1531e94e58bc16
BLAKE2b-256 ac4a0de1efae4b263de37b2fae8e0d4a2e29321ff05c670097a8b4c8cc1d3996

See more details on using hashes here.

File details

Details for the file genaimath-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: genaimath-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for genaimath-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c459bc4128a9e8a558a5f1281a868c86dbf3a5ef93617331d2cb8d3a78f41e
MD5 15d0a30ce8dafa52ea49ab65602ba0f1
BLAKE2b-256 aa3d54ec0b97645198a3c819b98af745efdaf018333d911cc5d76a8b37911754

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page