IdentificationDivision. Program-Id. divisions. Author. "Leutbecher". * Zahlentheorie S. 56 DataDivision. Working-StorageSection. 77 e pic S9(8). 77 y pic S9(8). LinkageSection. 77 x pic S9(8). 77 n pic S9(8). 77 p pic S9(8). ProcedureDivisionusing x n returning p. * computes p = x**n move n to e move x to y move1to p performuntil e <= 0 iffunction mod(e, 2)=1then multiply p by y end-if multiply y by y divide2into e end-perform * now y = x ** n End-Program divisions.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-06-09)
¤
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.