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.2.0.tar.gz (5.1 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.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genaimath-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6e62e654a0b63c83d068c00b8bc99fe954d129a04b38ecfcb5131ae70b29dc44
MD5 602df696901472e107cb12c1f511397d
BLAKE2b-256 4c7d7a01b6d926bfef9b208e422b11d9d013f6b21e63a0e84981d0b9ca2f4e1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genaimath-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b2ee9ca7bb9f888cdbe7fad79479fabf4edef536c2521a0e0d673629d96a612
MD5 651f01bc371783e7ea12279d8d65b188
BLAKE2b-256 5e2a46d435180b8aa34d073119bfaae4ceda994bc6f48b4e6c81932e5c3f0390

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