/usr/include/singular/singular/misc/prime.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 | #ifndef PRIME_H
#define PRIME_H
/*****************************************
* Computer Algebra System SINGULAR *
*****************************************/
/*
* simple prime test for int
*/
int IsPrime(int p); /* brute force !!!! */
#endif
|