Skip to content

A Rust implementation of the posit number system

License

Notifications You must be signed in to change notification settings

urbanij/posit

 
 

Repository files navigation

Rust

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













Original README below:


Status

This crate is UNMAINTAINED. You may be interested in looking at https://gitlab.com/burrbull/softposit-rs.

-- @japaric, 2018-12-08

posit

A Rust implementation of the posit number system

References

Documentation

Clone this repo and run this command:

$ cargo doc --open

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A Rust implementation of the posit number system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 76.2%
  • Jupyter Notebook 18.1%
  • Python 3.5%
  • C 1.4%
  • Makefile 0.8%