Source context

Rust library

CoreCmpPartialOrdF32

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<f32, f32>"]
def F32.Insts.CoreCmpPartialOrdF32 : core.cmp.PartialOrd F32 F32 := {
  partialEqInst := F32.Insts.CoreCmpPartialEqF32
  partial_cmp := F32.Insts.CoreCmpPartialOrdF32.partial_cmp
}
Operations used here

CoreCmpPartialEqF32 · Rust library

partial_cmp · Rust library

Other extracted objects at this span

F16.Insts.CoreCmpPartialOrdF16

F64.Insts.CoreCmpPartialOrdF64

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