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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genaimath-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4cb96ce3734a9915e3a5067ed1a6225e1a61fd59bcfa63ea5cd4ead5ae3bde77
MD5 761e3ad20ec3e3bfba0d4e1ee9123d2a
BLAKE2b-256 36f55a2d6da14028b7483a8967c5000172aae04374fa53b979e94830cf727ec4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genaimath-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7022fb13688278e214448fb0c994701f2d9f51b28a8f47bb6901af7c604653fa
MD5 8115a96365d893799fb7103786569d8a
BLAKE2b-256 22dc56b58937f0982aef65399bd9dde1588f910223b0f9bdd1e427fe8a500e72

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