/usr/include/givaro/givprimes16.h is in libgivaro-dev 3.2.13-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #ifndef _GIV_PRIMES16_H_
#define _GIV_PRIMES16_H_
// ==========================================================================
// $Source: /var/lib/cvs/Givaro/src/kernel/zpz/givprimes16.h,v $
// Copyright(c)'94-97 by Givaro Team
// see the copyright file.
// Authors: T. Gautier
// Time-stamp: <02 Oct 07 16:43:17 Jean-Guillaume.Dumas@imag.fr>
// ==========================================================================
// Description:
// - set of primes less than 2^16
#include <stddef.h>
// --------------------------------------------- class Primes16
class Primes16 {
public:
// -- Returns the number of primes of this ctxt
static size_t count() { return _size; }
static size_t ith(size_t i) {
// JGD 02.10.2007 : dependent of system/givconfig.h
// GIVARO_ASSERT( (i>=0)&&(i<(int)_size), "[Primes16::ith] index out of bounds");
return _primes[i];
}
private:
static const size_t _size;
static const size_t _primes[];
};
#endif
|