C/src/64BITS/BasicCtypes.i3


Copyright (C) 1994, Digital Equipment Corp.

INTERFACE BasicCtypes;

IMPORT Word;

TYPE
  (* the four signed integer types *)
  signed_char        = [-16_80 .. 16_7f];
  short_int          = [-16_8000 .. 16_7fff];
  int                = [-16_80000000 .. 16_7fffffff];
  long_int           = [-16_7fffffffffffffff - 1 .. 16_7fffffffffffffff];

  (* the four unsigned integer types *)
  unsigned_char      = [16_0 .. 16_ff];
  unsigned_short_int = [16_0 .. 16_ffff];
  unsigned_int       = [16_0 .. 16_ffffffff];
  unsigned_long_int  = Word.T;

  (* the three floating types *)
  float              = REAL;
  double             = LONGREAL;
  long_double        = EXTENDED;

  (* char *)
  char               = signed_char;

END BasicCtypes.