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

Quelle  normal.cob   Sprache: Cobol

 
       identification division.
       program-id. normal.
       author"Patrick Cousot".
       date-written. 10.3.2006.
       date-compiled.
       environment division.
       special-names.
       decimal-point is comma.
       data division.
       working-storage section.
       01 pic X.
         88 xfalse value 0.
         88 xtrue  value 1.
       77 x pic 9(8)V4 comp-5.
       77 y pic 9(4)V2 comp-5.
       77 z pic 9(4)V2 comp-5.
       77 r pic 9(4)V2 comp-5.
       procedure division.
      *   x = ldexp(1.,50)+ldexp(1.,26)
         compute x = 1125899,0 
         compute y = x + 1
         compute z = x - 1
         compute r = y - z
         display 23,45
      * ./a.out
      * 134217728.000000
         display r.
       end-program normal. 

100%


¤ Dauer der Verarbeitung: 0.13 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 ist noch experimentell.