File: ecm_int.h

package info (click to toggle)
gmp-ecm 7.0.4+ds-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,728 kB
  • sloc: asm: 36,431; ansic: 34,057; xml: 885; python: 799; sh: 698; makefile: 348
file content (23 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef ECM_INT_H_
#define ECM_INT_H_

#include "config.h"

#if defined UINT64_MAX || defined uint64_t
typedef int64_t ecm_int;
typedef uint64_t ecm_uint;
#define ECM_INT_MAX INT64_MAX
#define ECM_UINT_MAX UINT64_MAX
#elif defined HAVE_LONG_LONG_INT
typedef long long ecm_int;
typedef unsigned long long ecm_uint;
#define ECM_INT_MAX LLONG_MAX
#define ECM_UINT_MAX ULLONG_MAX
#else
typedef long ecm_int;
typedef unsigned long ecm_uint;
#define ECM_INT_MAX LONG_MAX
#define ECM_UINT_MAX ULONG_MAX
#endif

#endif /* ECM_INT_H_ */