next up previous contents
Next: Composite types Up: Data types Previous: Data types   Contents


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.


next up previous contents
Next: Composite types Up: Data types Previous: Data types   Contents
The DIET Team - Ven 6 jul 2012 11:19:05 CEST