ComputationalRadiationPhysics / libSplash

libSplash - Simple Parallel file output Library for Accumulating Simulation data using Hdf5
GNU Lesser General Public License v3.0
15 stars 15 forks source link

Atomic Basetypes: (U)Ints "INTEL"? #200

Open ax3l opened 9 years ago

ax3l commented 9 years ago

We are currently using H5T_INTEL_* types for int and uint CollectionTypes.

Following the documentation they are designed:

    For Intel CPUs
    Little-endian
    Signed integer (2's complement), unsigned integer, bitfield, and IEEE floating point
    8-bit, 16-bit, 32-bit, and 64-bit 

I don't think it matters in representation in our use cases, but using the standard types H5T_STD_[I|U]8[L|B]E for int and uint or the ANSI C9x-specific H5T_NATIVE_* might be an alternative.