You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking Change Minimum supported Rust version is now 1.58.
Breaking Changestd is now enabled as a default cargo feature. Disable default features to continue using no_std support.
Migrated to Rust Edition 2021.
Added #[must_use] attributes to functions, as appropriate.
Fixed
Fix a soundness bug with slice::as_ptr not correctly using mutable reference. By @Nilstrieb.
Added
Added const conversion methods to both f16 and bf16. These methods never use hardware intrinsics, unlike the current conversion methods, which is why they are separated into new methods. The following const methods were added:
from_f32_const
from_f64_const
to_f32_const
to_f64_const
Added Neg trait support for borrowed values &f16 and &bf16. By @pthariensflame.
Added AsPrimitive implementations from and to self, usize, and isize. By @kali.
Removed
Breaking Change The deprecated serialize cargo feature has been removed. Use serde cargo feature instead.
Breaking Change The deprecated consts module has been removed. Use associated constants on f16 instead.
Breaking Change The following deprecated functions have been removed: