Revision 24d2dc18e53205337a4bb9bc2dd1f9faa17798e3 authored by Lionel Muller on 07 October 2011, 09:58:47 UTC, committed by Lionel Muller on 07 October 2011, 09:58:47 UTC
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/cado-nfs/trunk@957 3eaf19af-ecc0-40f6-b43f-672aa0c71c71
1 parent 171f670
Raw File
utils.h
#ifndef	CADO_UTILS_H_
#define	CADO_UTILS_H_

#include "mod_ul.h"
#include <stdint.h>

#include <limits.h>

/* It's awful, but I confess that this ULONG_BITS is not ``portable'',
 * norm-wise.  GMP_LIMB_BITS is at hand, but could differ. An #ifdef
 * switch depending on macros like __x86_64 is considerably more fragile.
 *
 * Now that cmake build cado, en external test could set this. Alas, I've yet
 * to decide on what I want for this test.
 */
#define	ULONG_BITS	((int) (sizeof(unsigned long) * CHAR_BIT))

#include "fpoly.h"
// #include "plain_poly.h"
// #include "modul_poly.h"
#include "getprime.h"
#include "timing.h"
#include "relation.h"
#include "gmp_aux.h"
#include "cado_poly.h"
#include "rootfinder.h"
#include "params.h"
#include "gcd_int64.h"
#include "gcd_uint64.h"
#include "discriminant.h"
#include "random_generation.h"
#include "mpz_array.h"
#include "gzip.h"
#include "hashpair.h"
#include "misc.h"
#include "poly.h"
#include "crc.h"
#include "usp.h"
#include "purgedfile.h"
#include "bit_vector.h"
#include "fix-endianness.h"

#endif	/* CADO_UTILS_H_ */
back to top