next up previous contents index
Next: Type IdentityCompatibility, and Up: The Language Previous: Real Constants (3.2)

Base Types (6.1)

  Following table gives an overview for the standard types of Modula-2:

Standard Type Size Representation
BITSET 4 32 elements, CARDINAL({31}) = 1
BOOLEAN 1 ORD(FALSE) = 0, ORD(TRUE) = 1
CARDINAL 4
CHAR 1 ASCII for [0C..177C], undefined for [200C..377C]
INTEGER 4
LONGCARD 4
LONGINT 4
LONGREAL 16 ANSI/IEEE Standard 754-1985
REAL 8 ANSI/IEEE Standard 754-1985



Andreas Borchert
Mon Jun 3 16:17:20 MET DST 1996