Programmiersprachen Bearbeiten

  • funktionale Programmiersprachen
  • typisierte Datenbanksprachen

Elementare Datentypen in Programmiersprachen Bearbeiten

Dies ist eine offene Liste. Sie enthält Datentypen der Programmiersprachen einschließlich der Datenbanksprachen. Bitte nur Datentypen eintragen, die in der Sprachenliste aufgeführt sind, und für die eine Referenz angegeben ist.

Hier verwendete Sprachen (bei Bedarf erweitern und Referenz angeben
Ada, C, C++, COBOL, FORTRAN‑77, Modula‑2, PASCAL, PL/1, SQL
  • Ganze Zahl
    • Datentyp – Programmiersprache – Genauigkeit
    • short – C/C++ – 16 Bit
    • BIN FIXED – PL/1 – 16 Bit / 32 Bit
    • BINARY, COMP – COBOL – 32 Bit
    • int – C/C++ – 32 Bit
    • integer – PASCAL, Ada
    • INTEGER – FORTRAN–77, Modula‑2 – 32 Bit
    • INT, INTEGER – SQL – 32 Bit
    • long – C/C++ – 64 Bit
  • Natürliche Zahl
    • Datentyp – Programmiersprache – Genauigkeit
    • CARDINAL – Modula‑2 – 32 Bit
    • unsigned short – C/C++ – 16 Bit
    • unsigned int – C/C++ – 32 Bit
    • unsigned long – C/C++ – 64 Bit
  • Festkommazahl
    • Datentyp – Programmiersprache – Genauigkeit
    • currency – PASCAL – *
    • DEC, DECIMAL – SQL – (n+1)/2*8 Bit
    • PACKED DECIMAL, COMP‑3 – COBOL – (n+1)/2*8 Bit
  • Gleitkommazahl
    • Datentyp – Programmiersprache – Genauigkeit
    • COMP‑1 – COBOL – einfach
    • real – PASCAL – einfach
    • float – C, Ada – einfach
    • REAL – FORTRAN‑77, Modula‑2 – einfach
    • COMP‑2 – COBOL – doppelt
    • double – C, PASCAL – doppelt
    • long_float – Ada – doppelt
    • LONGREAL – Modula‑2 – doppelt
    • DOUBLE PRECISION – FORTRAN‑77 – doppelt

Quellen und Referenzen Bearbeiten