fact: Definition OneCToZ {sz} (w : word sz) : Z := if wmsb w true then match wordToN (wnot w) with | N0 => 0%Z | Npos x => Zneg x end else match wordToN w with | N0 => 0%Z | Npos x => Zpos x end.
imports: Fiat.Common.Coq__8_4__8_5__Compat List Bedrock.Word Coq.ZArith.ZArith Coq.micromega.Psatz NArith NArithRing ZArith ZArithRing