Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/primes.h @ 8962:a2a28c52e951 HEAD
THREAD REFS still might have returned one (0) at the beginning.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 16 Apr 2009 22:21:36 -0400 |
parents | 81806d402514 |
children |
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) ATTR_CONST; #endif