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.1.0.tar.gz (6.8 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.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genaimath-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c4aa4d9f122ea2c443264639b8bd90056d9a343e85b2f38910347418e8924128
MD5 8489ce3d46d6cccd3a473fb0f3066280
BLAKE2b-256 8295cc477fb09dc2eb69d826edf9adee25d301efce2e000e3001f8c60cd1fb43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genaimath-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13207e3b4e8605d157fa17b0d77b06050b34ed8e39ee1b7a90c4c3244dda6d4e
MD5 1e13c23b15d64c69ac8dcc52db5a5b6f
BLAKE2b-256 78bedc5d61860eb58351b78fda322e61891a5ec215954df71e04fdc6d1b832e4

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