/usr/include/singular/singular/coeffs/rintegers.h is in libsingular4-dev-common 1:4.1.0-p3+ds-2build1.
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 | #ifndef RINTEGERS_H
#define RINTEGERS_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT: numbers modulo n
*/
#include <misc/auxiliary.h>
#ifdef HAVE_RINGS
#if SI_INTEGER_VARIANT == 3
#define SR_HDL(A) ((long)(A))
#define SR_INT 1L
#define INT_TO_SR(INT) ((number) (((long)INT << 2) + SR_INT))
#define SR_TO_INT(SR) (((long)SR) >> 2)
#define n_Z_IS_SMALL(A) (SR_HDL(A) & SR_INT)
#define INT_IS_SMALL(A) ( ((A << 1) >> 1) == A )
#endif
//extern int nrzExp;
//extern unsigned long nrzModul;
BOOLEAN nrzInitChar (coeffs r, void * parameter);
void nrzWrite (number a, const coeffs r); /*for rmodulon.cc*/
number nrzInit (long i, const coeffs r); /*for SAGE, better: n_Init*/
#endif
#endif
|