Program Rust
set_precision
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
96 // precision of the computation is determined on a per-operation basis.97 #[cfg(any(not(target_arch = "x86"), target_feature = "sse2"))]98 mod fpu_precision {99 pub(crate) fn set_precision<T>() {}100 }Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
def num.imp.dec2flt.fpu.fpu_precision.set_precision
(T : Type) : Result Unit := do
ok ()Source details
| Declaration | num.imp.dec2flt.fpu.fpu_precision.set_precision |
|---|---|
| File | num/imp/../../dec2flt/fpu.rs |
| Lines | 99:4–99:39 |
| Program version | Original program |