identificationdivision. program-id. sin. * aus Wirth, systematisches Programmieren p. 65 author. "JD". date-written. 11.9.2005. date-compiled. datadivision. working-storagesection. 77 s pic9(4)V9(4) comp. 77 t pic9(4)V9(4) comp. 77 k pic9(4) comp. 77 eps pic9(4)V9(4) compvalue0.001. linkagesection. 77 x pic9(4)V9(4) comp. 77 r pic9(4)V9(4) comp. proceduredivisionusing x r. * computes sin(x) move x to t move1to k move t to s performuntilfunction abs(t) <= eps * function abs(s) add2to k compute t = - t * x * x / ( k * (k - 1)) add t to s end-perform. move s to r. end-program sin.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-08)
¤
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.