Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/net/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 17 kB image not shown  

SSL horner.cob

  Sprache: Cobol
 

       identification division.
       program-id. horner.
      *  aus D.Nowottny p. 73
      * Mathematik am Computer
       author"JD".
       date-written24.9.2006.
       date-compiled.
       data division.
       working-storage section.
         78 n   pic 9(4value 3.
         77 i   pic 9(4).
         77 j   pic 9(4).
       linkage section.
         01 p   pic 9(4)V99 occurs n.
         01 val pic 9(4)V99 occurs n.
       procedure division using p val.
      *  Horner Schema für Polynome
         perform varying i from 1 until i > n
           move 0 to val(i)
         end-perform
         perform varying i from 1 until i > n
           perform varying j from 1 until j > n
             multiply val(j) by p(j)
           end-perform
           add p(i) to val(i)
         end-perform.
      *  die Nullstellen sind in val?
        end-program horner.

Messung V0.5 in Prozent
C=86 H=87 G=86

¤ Dauer der Verarbeitung: 0.6 Sekunden  (vorverarbeitet am  2026-06-14) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.