Skip to main content

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

Release files for genaimath 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genaimath 1.1.0
File Size Uploaded
genaimath-1.1.0.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genaimath 1.1.0
File Interpreter ABI Platform
genaimath-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / genaimath-1.1.0.tar.gz

Download URL genaimath-1.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c4aa4d9f122ea2c443264639b8bd90056d9a343e85b2f38910347418e8924128
BLAKE2b-256 checksum
How to use checksums
8295cc477fb09dc2eb69d826edf9adee25d301efce2e000e3001f8c60cd1fb43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / genaimath-1.1.0-py3-none-any.whl

Download URL genaimath-1.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13207e3b4e8605d157fa17b0d77b06050b34ed8e39ee1b7a90c4c3244dda6d4e
BLAKE2b-256 checksum
How to use checksums
78bedc5d61860eb58351b78fda322e61891a5ec215954df71e04fdc6d1b832e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page