Source/Packages

Model.Word32

packages/foundation/standard/src/Model/Word32.alpha

492 lines41 declarations17.0 KiBSHA-256 eb985612415b

def · lines 289–295

modelWord32ModuloStep

Full file
289def modelWord32ModuloStep =
290  (lambda unrestricted remainder : Nat .
291    (lambda unrestricted value : Byte .
292      (lambda unrestricted divisor : Nat .
293        (naturalModuloUnchecked
294          (naturalAdd (naturalMultiply remainder byteNaturalTwoHundredFiftySix) (byte-to-nat value))
295          divisor))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.