Source context

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 F32
Other extracted objects at this span

F16.Insts.CoreOpsArithNegF16.neg

F64.Insts.CoreOpsArithNegF64.neg

Source details
DeclarationF32.Insts.CoreOpsArithNegF32.neg
File/rustc/library/core/src/ops/arith.rs
Lines719:12–719:30
Program versionPreparation 1