Skip to main content

Advanced mathematical operations with arbitrary-precision arithmetic numbers, powered by AI. It supports limitless range of numbers.

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
  • Limitless range of numbers being supported (no upper or lower number limits)

Installation

You can install GenAIMath via pip:

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

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.4.0.tar.gz (5.6 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.4.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genaimath-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e3aa65ef88f592da99b590339f7428d4f04cd5815ba92f995a74d04a85f46fbb
MD5 9c7ac77da4fa4976aec34eddf68ee879
BLAKE2b-256 f1e0b632f6fc2f214a16ba41e9aac3c5bea3186914a6a7feec2825c4b48ab634

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genaimath-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a67da35f32f02f4b357b80a27335a82abeb9d3e09fa4ff42e17b1a068a98022
MD5 7209e756dd99929a04f0d04ba753b95e
BLAKE2b-256 4e9bfefdd2b5fa2a86f27428c3e133352bf00a39e5729d26f589314da380a5b7

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