Cross Reference: prime.c
xref
: /
freebsd-10.2-release
/
contrib
/
top
/
prime.c
Home
History
Annotate
Raw
Download
only in
/freebsd-10.2-release/contrib/top/
Deleted
Added
sdiff
udiff
text
old ( 24139 )
new ( 89750 )
full
compact
prime.c (24139)
prime.c (89750)
1
/*
2
* Prime number generator. It prints on stdout the next prime number
3
* higher than the number specified as argv[1].
4
*/
5
1
/*
2
* Prime number generator. It prints on stdout the next prime number
3
* higher than the number specified as argv[1].
4
*/
5
6
#include <stdio.h>
6
#include <math.h>
7
8
main(argc, argv)
9
10
int argc;
11
char *argv[];
12
13
{
---
27 unchanged lines hidden
---
7
#include <math.h>
8
9
main(argc, argv)
10
11
int argc;
12
char *argv[];
13
14
{
---
27 unchanged lines hidden
---