Source context

Rust library

CoreCmpPartialOrdF64

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

1952         ($($t:ty)*) => ($(1953             #[stable(feature = "rust1", since = "1.0.0")]1954             #[rustc_const_unstable(feature = "const_cmp", issue = "143800")]1955             impl const PartialOrd for $t {1956                 #[inline]1957                 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {1958                     match (*self <= *other, *self >= *other) {

Aeneas declaration

Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.

@[reducible, rust_trait_impl "core::cmp::PartialOrd<f64, f64>"]
def F64.Insts.CoreCmpPartialOrdF64 : core.cmp.PartialOrd F64 F64 := {
  partialEqInst := F64.Insts.CoreCmpPartialEqF64
  partial_cmp := F64.Insts.CoreCmpPartialOrdF64.partial_cmp
}
Operations used here

CoreCmpPartialEqF64 · Rust library

partial_cmp · Rust library

Other extracted objects at this span

F16.Insts.CoreCmpPartialOrdF16

F32.Insts.CoreCmpPartialOrdF32

Source details
DeclarationF64.Insts.CoreCmpPartialOrdF64
File/rustc/library/core/src/cmp.rs
Lines1955:12–1955:40
Program versionPreparation 1