Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/image/test/reftest/bmp/bmpsuite/q/   (Firefox Browser Version 153.0.1©) image not shown  

SSL pow-fast.cob   Interaktion und
PortierbarkeitCobol

 

       identification division.
       program-id. pow-fast.
      * aus Dirk Hoffmann,
      * Software-Qualität
      * p339, Springer 2008
       author. "JD".
       date-written. 28.1.2009.
       date-compiled.
       data division.
       working-storage section.
        77 k pic 9(4).
        77 p pic 9(16).
        linkage section.
        77 a   pic 9(4).
        77 n   pic 9(4).
        77 y   pic 9(16).
       procedure division using a n returning y.
      * computes r = i to the power of n
         move n to k
         move a to p
         move 1 to y
         perform until k <= 0
           if function mod(k,2)=0 then
             multiply p by p
             divide 2 into k
           else
             multiply p by y
             subtract 1 from k
           end-if
         end-perform.
        end program pow-fast.

Messung V0.5 in Prozent
C=88 H=100 G=94

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.0Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-27) ¤

*Bot Zugriff






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.