Rust library
neg
This is Rust standard-library source from the compiler version used in the run.
716 #[inline]717 #[track_caller]718 #[rustc_inherit_overflow_checks]719 fn neg(self) -> $t { -self }720 }721 722 forward_ref_unop! { impl Neg, neg for $t,Aeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_fun "core::ops::arith::{core::ops::arith::Neg<f32, f32>}::neg"]
axiom F32.Insts.CoreOpsArithNegF32.neg : F32 → Result F32Other extracted objects at this span
Source details
| Declaration | F32.Insts.CoreOpsArithNegF32.neg |
|---|---|
| File | /rustc/library/core/src/ops/arith.rs |
| Lines | 719:12–719:30 |
| Program version | Preparation 1 |