Revision ae80a2de misc/ips.c
misc/ips.c | ||
---|---|---|
23 | 23 |
* = ((1-1/k)^k)^a which we can approximate by e^-a. |
24 | 24 |
*/ |
25 | 25 |
|
26 |
unsigned int hf(unsigned int n)
|
|
26 |
uint hf(uint n)
|
|
27 | 27 |
{ |
28 | 28 |
#if 0 |
29 | 29 |
n = (n ^ (n >> 16)) & 0xffff; |
... | ... | |
58 | 58 |
|
59 | 59 |
while (max--) |
60 | 60 |
{ |
61 |
unsigned int i, e;
|
|
61 |
uint i, e; |
|
62 | 62 |
if (scanf("%x/%d", &i, &e) != 2) |
63 | 63 |
if (feof(stdin)) |
64 | 64 |
break; |
Also available in: Unified diff