Posit-playground

Latest version: v0.1.3

Safety actively analyzes 623165 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.3

- added `from_double(x, n, es)` with thoroughly tested (against [SoftPosit-Python
](https://gitlab.com/cerlane/SoftPosit-Python)) rounding.
- `to_real()` renamed to `eval()`
- ~~fixed~~ improved rounding (round to nearest) in posit multiplication
- fixed regime instantiation when initialized with a k value greater then maximum value it can correctly represent
- fixed bug with `eval()` when overflow occurred
- overloaded Posit operators `+ - += -= < <= > >=`
- added examples folder
- added [Softposit](https://gitlab.com/cerlane/SoftPosit-Python)'s like api (`posit8`, `posit16`, `posit32`)
- updated demo notebook 1

0.1.2

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.