largest int on different platforms

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

Howdy all!

What is the maximum long long on different platforms. Anyone know?

In my header I have:

#define X_INT64_MAX   ((nc_int64)9223372036854775804)

This gives me an error on AIX:

"nc4hdf.c", line 2558.31: 1506-207 (W) Integer constant
9223372036854775804 out of range.

Is there some standard way of determining what the largest signed and
unsigned 64-bit int is?

I figure one of you HDF5 people must know, since you have probably had
the same problems.


Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx

  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: