Source context

Rust library

from_bits

This is Rust standard-library source from the compiler version used in the run.

1266     #[must_use]1267     #[inline]1268     #[allow(unnecessary_transmutes)]1269     pub const fn from_bits(v: u64) -> Self {1270         // It turns out the safety issues with sNaN were overblown! Hooray!1271         // SAFETY: `u64` is a plain old datatype so we can always transmute from it.1272         unsafe { mem::transmute(v) }

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}::from_bits"]
axiom core.f64.F64.from_bits : Std.U64 → Result F64
Source details
Declarationcore.f64.F64.from_bits
File/rustc/library/core/src/num/f64.rs
Lines1269:4–1269:42
Program versionPreparation 1