#float #bits #range #integer #byte #single

ufloat8

Small library to compress a large integer range (± 20 bits) in a single byte

1 unstable release

Uses old Rust 2015

0.1.0 Oct 4, 2016

#700 in Compression

BSD-2-Clause

2KB

ufloat8 library

This is a small library implementing a custom unsigned floating-point-like integer format using just 8 bits. I wrote it to send a duration (in time) of a wide range in just one byte, while keeping precision for smaller values.

See the main repository, this is a Rust implementation.

No runtime deps