identificationdivision. program-id. multfast. * aus Wirth, systematisches Programmieren p. 31 author. "JD". date-written. 11.9.2005. date-compiled. datadivision. working-storagesection. 77 z pic9(4). 77 u pic9(4). 77 v pic9(4). linkagesection. 77 x pic9(4). 77 y pic9(4). 77 r pic9(4). proceduredivisionusing x y r. * computes x / y move0to z move x to u. move y to v. * invariant z + u * y = x * y && u > 0 performuntil u <= 0 iffunction odd(u) then add v to z end-if divide2into u multiply2by v end-perform. move z to r. end-program multfast.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.