Rust library
to_bits
This is Rust standard-library source from the compiler version used in the run.
1220 #[rustc_const_stable(feature = "const_float_bits_conv", since = "1.83.0")]1221 #[allow(unnecessary_transmutes)]1222 #[inline]1223 pub const fn to_bits(self) -> u64 {1224 // SAFETY: `u64` is a plain old datatype so we can always transmute to it.1225 unsafe { mem::transmute(self) }1226 }Aeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_fun "core::f64::{f64}::to_bits"]
axiom core.f64.F64.to_bits : F64 → Result Std.U64Source details
| Declaration | core.f64.F64.to_bits |
|---|---|
| File | /rustc/library/core/src/num/f64.rs |
| Lines | 1223:4–1223:37 |
| Program version | Preparation 1 |