products/Sources/formale Sprachen/JAVA/Openclaw/ui/src/i18n/lib/   (LibreOffice Version 25.8.3.2©)  Datei vom 26.3.2026 mit Größe 3 kB image not shown  

Impressum multfast.cob

  Sprache: Cobol
 

       identification division.
       program-id. multfast.
      *  aus Wirth, systematisches Programmieren p. 31 
       author"JD".
       date-written11.9.2005.
       date-compiled.
       data division.
       working-storage section.
       77 z pic 9(4).
       77 u pic 9(4).
       77 v pic 9(4).
       linkage section.
       77 x   pic 9(4).
       77 y   pic 9(4).
       77 r   pic 9(4).
       procedure division using x y r.
      * computes x / y
         move 0 to z
         move x to u.
         move y to v.
      * invariant z + u * y = x * y  &&  u > 0   
         perform until u <= 0
           if function odd(u) then
             add v to z
           end-if
           divide 2 into u
           multiply 2 by v
         end-perform.
         move z to r.
        end-program multfast.

Messung V0.5 in Prozent
C=81 H=97 G=89

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-06-15) ¤

*© 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.