| 188 |
large integers. If a 64-bit integer type is available, we can use that. |
large integers. If a 64-bit integer type is available, we can use that. |
| 189 |
Otherwise we have to cast to double, which of course requires floating point |
Otherwise we have to cast to double, which of course requires floating point |
| 190 |
arithmetic. Handle this by defining a macro for the appropriate type. If |
arithmetic. Handle this by defining a macro for the appropriate type. If |
| 191 |
stdint.h is available, include it; it may define INT64_MAX. The macro int64_t |
stdint.h is available, include it; it may define INT64_MAX. Systems that do not |
| 192 |
may be set by "configure". */ |
have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set |
| 193 |
|
by "configure". */ |
| 194 |
|
|
| 195 |
#if HAVE_STDINT_H |
#if HAVE_STDINT_H |
| 196 |
#include <stdint.h> |
#include <stdint.h> |
| 197 |
|
#elif HAVE_INTTYPES_H |
| 198 |
|
#include <inttypes.h> |
| 199 |
#endif |
#endif |
| 200 |
|
|
| 201 |
#if defined INT64_MAX || defined int64_t |
#if defined INT64_MAX || defined int64_t |