3 # User Torbjorn Granlund <tege@gmplib.org>
4 # Date 1267122532 -3600
5 # Node ID 794410151f5f966bcb5c3489b6441614990efe7c
6 # Parent 948660e2e56d9cfaae035082b8fd473985505fb6
7 Fix a test case to work for long long limbs.
9 diff -r 948660e2e56d -r 794410151f5f ChangeLog
10 --- a/ChangeLog Thu Feb 25 16:08:21 2010 +0100
11 +++ b/ChangeLog Thu Feb 25 19:28:52 2010 +0100
13 2010-02-25 Torbjorn Granlund <tege@gmplib.org>
15 + * tests/mpz/t-perfpow.c (check_random): Use mp_limb_t type for limb
18 * tests/mpn/t-div.c: Cast a switch index to placate HP's cc.
19 * tests/mpn/t-bdiv.c: Likewise.
21 diff -r 948660e2e56d -r 794410151f5f tests/mpz/t-perfpow.c
22 --- a/tests/mpz/t-perfpow.c Thu Feb 25 16:08:21 2010 +0100
23 +++ b/tests/mpz/t-perfpow.c Thu Feb 25 19:28:52 2010 +0100
26 Contributed to the GNU project by Torbjorn Granlund and Martin Boij.
28 -Copyright 2008, 2009 Free Software Foundation, Inc.
29 +Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
31 This file is part of the GNU MP Library.
35 mpz_t n, np, temp, primes[NRP];
36 int i, j, k, unique, destroy, res;
37 - unsigned long int nrprimes, primebits, g, exp[NRP], e;
38 + unsigned long int nrprimes, primebits;
39 + mp_limb_t g, exp[NRP], e;
40 gmp_randstate_ptr rands;