view src/lib/primes.h @ 100:867ec80dbf42 HEAD

Custom flags are now shown in FLAGS and PERMANENTFLAGS lists after SELECT. It also warns if there's for some reason a duplicate index number in custom flags file.
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Aug 2002 22:21:51 +0300
parents e399e33d033d
children e4eb71ae8e96
line wrap: on
line source

#ifndef __PRIMES_H
#define __PRIMES_H

/* Returns a prime close to specified number, or the number itself if it's
   a prime. Note that the returned value may be smaller than requested! */
unsigned int primes_closest(unsigned int num);

#endif