FflasFfpack
|
Specialization of Modular to int64_t element type with efficient dot product. More...
#include <modular-int64.h>
Specialization of Modular to int64_t element type with efficient dot product.
Efficient element operations for dot product, mul, axpy, by using floating point inverse of modulus (borrowed from NTL) and some use of non-normalized intermediate values.
For some uses this is the most efficient field for primes in the range from half word to 2^62.
Requires: Modulus < 2^62. Intended use: 2^30 < prime modulus < 2^62.