Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/COBOL/verschiedene-Autoren/AbsInt-Group/   (Columbo Version 0.7©)  Datei vom 21.6.2008 mit Größe 762 B image not shown  

Quelle  double-2.cob   Sprache: Cobol

 
       identification division.
       program-id. dou2.
       author"Patrick Cousot".
       date-written. 10.3.2006.
       date-compiled.
       data division.
       working-storage section.
       01 pic X.
         88 xfalse value 0.
         88 xtrue  value 1.
       77 x pic 9(4) comp-4.
       77 y pic 9(4) comp-4.
       77 z pic 9(4) comp-4.
       procedure division.
      *   if ((x < -1.0e38) or (x > 1.0e38)) 
          if ((x < -1.0e13) or (x > 1.0e13)) 
           stop run.
         perform until false
          compute y = x + 1.0e21
          compute z = x - 1.0e21
      *     compute y = x + 1.0e18
      *     compute z = x - 1.0e11
           compute x = y - z
         end-perform.
       end-program dou2.

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

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.