jposit
Project description
uv venv
source .venv/bin/activate
uv pip install maturin
# if macOS
uv pip install pip
maturin develop
python
>>> import jposit
>>> jposit.from_bits(...)
>>>
Deprecated:
Posit
Added python bindings exploiting Python FFI lib. Working with Python 3.9/3.10
>>> import jposit
>>> jposit.from_bits(123, 8, 0)
14.0
>>> jposit.from_double(35.1, 16, 1)
35.09375
Jupyter notebook: https://github.com/urbanij/posit/blob/master/py-posit/notebooks/demo.ipynb
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jposit-0.3.1.dev0-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 212.3 kB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9afadd4f77794a41521dd8a97f1ddb70c88d12ed44da76b7d12dc06209928773
|
|
| MD5 |
cfa8fb30883af4b0122f0d2d74f6ace6
|
|
| BLAKE2b-256 |
7460544f578fe605fbde3d17ad5fb1f24be952e7486cdbd055b4a2e8adc28789
|
File details
Details for the file jposit-0.3.1.dev0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 186.9 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b58da8beb47ff6e018c32b3ee82ecb2a2e9e1fbecbd0f85d8e501a708fbff1c4
|
|
| MD5 |
a483b0628aaebde070e899605868412f
|
|
| BLAKE2b-256 |
4c38d657c56d5435d270b09ae6eb05d12cce2d2f29a2b911ef057eb763ba07b4
|
File details
Details for the file jposit-0.3.1.dev0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 212.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37b1deb6cc97c38d297411ed6f31ad1eff296bd3199b8f457ce2f413b39d4dbf
|
|
| MD5 |
83bb7f275f084714a75d08949e8c52ae
|
|
| BLAKE2b-256 |
c4fc5bd14c1aa52607c0247b3d2e93abeecdca7ce85c1d01f883834d63f785e2
|
File details
Details for the file jposit-0.3.1.dev0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 186.9 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca07b3a45ca83c47a77e1eac7ee37b9a4414d39d9aa47b50b549169f829da1b5
|
|
| MD5 |
b1d7ef1bbcb03eaabc54fd9902047ca5
|
|
| BLAKE2b-256 |
40127c35df8c57ea5e15988e3547bec2fdaa64f5c6eb099fc1d0761450f0e831
|
File details
Details for the file jposit-0.3.1.dev0-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 212.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00a706383ea525a4c8cbee4be8063f84ce73c0c1922bb90a8765fc250d49489d
|
|
| MD5 |
6a51222d7179d5bd561f5b975cd67df5
|
|
| BLAKE2b-256 |
371c99549e4fc19eca61f2bd1b080b13e61e7c113ee61567de7ce62d7fe3c66c
|
File details
Details for the file jposit-0.3.1.dev0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 186.6 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3c5145e0614dee91661d6b7c032289556e39327c2c1ee4521aabb8651537a6c
|
|
| MD5 |
50c70f3a5285c5f8cedee673ce17a69a
|
|
| BLAKE2b-256 |
7f6714a68f4c707a35b92b43afc87a893b11110514797b584165c108a4eb6ead
|
File details
Details for the file jposit-0.3.1.dev0-cp39-cp39-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp39-cp39-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 212.2 kB
- Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3f07cc15dbbeb60ef523c868ec7cb867f0f65376b11ab27f450644fed8a6383
|
|
| MD5 |
79bcea14da7ddfd50842ec11db0fa0d7
|
|
| BLAKE2b-256 |
ef26b58d13705ee0a473a983972dd31842bcf60e4330d8d94a95ce15d87cc671
|
File details
Details for the file jposit-0.3.1.dev0-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: jposit-0.3.1.dev0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 186.8 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23875a89040833f0de76c5eb665e71e9b2aa1e95ae8366ca24a6a6e85d2caa98
|
|
| MD5 |
87de0b1a57e4be380be37afefa2b81f0
|
|
| BLAKE2b-256 |
e619b7a2c9abe9bc862d84162bd61cf9c351f7a687fd9c2042fa2afc76a11e97
|