half-rs icon indicating copy to clipboard operation
half-rs copied to clipboard

Half-precision floating point types f16 and bf16 for Rust.

Results 22 half-rs issues
Sort by recently updated
recently updated
newest added

this code: ```rust let x = f16::from_f32(std::f32::consts::PI); println!("{:.1e}", x); println!("{:.1e}", f32::from(x)); ``` produces this ``` 3.140625e0 3.1e0 ``` `f16::debug` just uses `fmt(self.to_f32(), f)` so I don't know what might be...

Preface: Thanks for this crate - it's super fundamental to the ecosystem! ❤️ There are too many fuzzing crates! This adds support for [rust-fuzz/arbitrary](https://github.com/rust-fuzz/arbitrary) behind a feature flag. Context: https://github.com/gfx-rs/wgpu/pull/5701...