jacobi.h 325 B

12345678910
  1. /*
  2. * Copyright (c) 1995 Colin Plumb. All rights reserved.
  3. * For licensing and other legal details, see the file legal.c.
  4. *
  5. * For a small (usually prime, but not necessarily) prime p,
  6. * Return Jacobi(p,bn), which is -1, 0 or +1.
  7. * bn must be odd.
  8. */
  9. struct BigNum;
  10. int bnJacobiQ(unsigned p, struct BigNum const *bn);