1978 | OriginalPaper | Buchkapitel
Other Data Types
verfasst von : Brian Meek
Erschienen in: Fortran, PL/I and the Algols
Verlag: Macmillan Education UK
Enthalten in: Professional Book Archive
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
In both Algol and Fortran variables taking truth values can be declared, and Boolean or LOGICAL forms a different data type from the arithmetic data types. In PL/I the attribute concept means that there is really just one arithmetic data type, though any object of that data type will have certain attributes of scale, base and precision. Even complex quantities are part of this, since REAL or COMPLEX is simply another arithmetic attribute. As for Boolean, there is no direct equivalent at all, the nearest being a bit string of length 1. Bit strings are dealt with in section 2.5.3, since it is more convenient to discuss them after character strings (section 2.5.2). First, however, we deal briefly with the COMPLEX attribute.