1
0
Fork 0

problem 10 done, and problem 7 rewritten (new is_prime algorithm)

This commit is contained in:
Henrik Hautakoski 2010-04-09 16:20:42 +02:00
parent 8498165fef
commit 2ba8a8aaeb
4 changed files with 64 additions and 36 deletions

10
lib/prime.h Normal file
View file

@ -0,0 +1,10 @@
#ifndef __PRIME_H
#define __PRIME_H
#include <stdint.h>
int is_prime(uint32_t p);
#endif /* __PRIME_H */