/usr/include/givaro/givprimes16.h is in libgivaro-dev 3.7.2-1.
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 35 36 37 38 39 40 41 | // ==========================================================================
// $Source: /var/lib/cvs/Givaro/src/kernel/zpz/givprimes16.h,v $
// Copyright(c)'1994-2009 by The Givaro group
// This file is part of Givaro.
// Givaro is governed by the CeCILL-B license under French law
// and abiding by the rules of distribution of free software.
// see the COPYRIGHT file for more details.
// Authors: T. Gautier
// Time-stamp: <02 Oct 07 16:43:17 Jean-Guillaume.Dumas@imag.fr>
// ==========================================================================
/*! @file givprimes16.h
* @ingroup zpz
* @brief set of primes less than 2^16
*/
#ifndef __GIVARO_primes16_H
#define __GIVARO_primes16_H
#include <stddef.h>
namespace Givaro {
//! 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[];
};
} // namespace Givaro
#endif // __GIVARO_primes16_H
|