Show HN: Fast-posit, sw implementation of posit arithmetic in Rust
github.com·1d·
Discuss: Hacker News
Flag this post

🚧 Work in progress! 🚧

fast-posit

Software implementation of Posit arithmetic in Rust. Correct, clean, and 🚀 fast.

Introduction

Posits are an alternative floating point format proposed by John Gustafson in 2017, with the first published standard in 2022. They have several interesting features that make them an excellent replacement for traditional IEEE754 floats, in domains such as neural networks or HPC.

Some highlights of the Posit format:

  • Generally higher accuracy and/or dynamic range for the same number of bits, as compared to IEEE floats. Posits have a smaller decimal error for the majority of operations (+, ×, sqrt, etc) compared to a IEEE float of the same size.
  • Simple and deterministic rounding, with bounde…

Similar Posts

Loading similar posts...