Rust library
CoreCmpPartialOrdF16
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<f16, f16>"]
def F16.Insts.CoreCmpPartialOrdF16 : core.cmp.PartialOrd F16 F16 := {
partialEqInst := F16.Insts.CoreCmpPartialEqF16
partial_cmp := F16.Insts.CoreCmpPartialOrdF16.partial_cmp
}Source details
| Declaration | F16.Insts.CoreCmpPartialOrdF16 |
|---|---|
| File | /rustc/library/core/src/cmp.rs |
| Lines | 1955:12–1955:40 |
| Program version | Preparation 1 |