Skip to main content

pip install -U roundmantissa

roundmantissa

Tiny library 🐤 that rounds floating point numbers based on the length of their mantissa.

5.0 = 4.0 + 1.0 = (1 + 1/4) * 2**2 = b1.01 * 2**2
round_mantissa(5.0, 0) = b1. * 2**2
round_mantissa(5.0, 1) = b1.0 * 2**2
round_mantissa(5.0, 2) = b1.01 * 2**2

🐥 🐥 🐥

Metadata

Release files for roundmantissa 0.2.1

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

Source distribution (sdist)

Source distribution for roundmantissa 0.2.1
File Size Uploaded Provenance Actions
roundmantissa-0.2.1.tar.gz 3.4 kB Without provenance Details for roundmantissa-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / roundmantissa-0.2.1.tar.gz

Download URL roundmantissa-0.2.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
92b6bda5ab5f0dac437a0b270f228adfb39971668eff9dd9cb06460cf37af935
BLAKE2b-256 checksum
How to use checksums
23b9033a3e1d79cef5400cce2a7dab2f1aec2563dee71a1d0ac2dca578109a17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.14

Release files / roundmantissa-0.2.1-py3-none-any.whl

Download URL roundmantissa-0.2.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
646b48a0f9ba29211ed485a794dad8430dad9449a0eaddfd52ebf9d9cb3c18ca
BLAKE2b-256 checksum
How to use checksums
865c8a79ad38d8521ce0f6955ae2c4db6efcaefd63c15bc8e217a3fc74b34f27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.14

Security for roundmantissa 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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