Base types

Base types are defined in an enum type diet_base_type_t and have the following semantics:

Type Description Size in octets
DIET_CHAR Character 1
DIET_SHORT Signed short integer 2
DIET_INT Signed integer 4
DIET_LONGINT Long signed integer 8
DIET_FLOAT Simple precision real 4
DIET_DOUBLE Double precision real 8
DIET_SCOMPLEX Simple precision complex 8
DIET_DCOMPLEX Double precision complex 16

NB:
DIET_SCOMPLEX and DIET_DCOMPLEX are not implemented yet.

The DIET Team - Mer 29 nov 2017 15:13:36 EST