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
}Source details
| Declaration | F32.Insts.CoreCmpPartialOrdF32 |
|---|---|
| File | /rustc/library/core/src/cmp.rs |
| Lines | 1955:12–1955:40 |
| Program version | Preparation 1 |