Revision 04d936b111068ed0247613675a3c458b6b5feb5b authored by Alexander Kruppa on 19 February 2014, 14:03:37 UTC, committed by Alexander Kruppa on 19 February 2014, 14:03:37 UTC
1 parent 869d21a
Raw File
powers_of_p.h
#ifndef POWERS_OF_P_H_
#define POWERS_OF_P_H_

#include <gmp.h>

// this is a trampoline to C++. Entry points are in C.
#ifdef __cplusplus
extern "C" {
#endif

void * power_lookup_table_init(unsigned long p);
void power_lookup_table_clear(void * t);
mpz_srcptr power_lookup(void * t, int i);
mpz_srcptr power_lookup_const(const void * t, int i);

#ifdef __cplusplus
}
#endif

#endif	/* POWERS_OF_P_H_ */
back to top