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-1.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

genaimath-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genaimath-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a630870d35e53ef05445b788448a2ea2c8294d1c0ebace3fe814897584518a1f
MD5 542c9f8be92df478ab398dbf151ff70d
BLAKE2b-256 7e48ac07e294da8d1fffb2ab4cd9e2d525b3ad634e66beeaef32dc3017f7c4e8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for genaimath-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5b97b2a683ecbfc937789aaf28e33f68a3d1456936e745f0387bb91f7dc7b77
MD5 a2f9fc753ec118f0c47b4f3ea537ebe5
BLAKE2b-256 fe0607b038125f613e8e5d3bf79c5d6e3515f88526aa369ba588f0f6341125d3

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