aboutsummaryrefslogtreecommitdiff
path: root/util/prime_search.h
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2022-10-30 19:30:29 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2022-10-30 19:30:29 -0500
commit20e52f326cdf1b6c2ca9b2c0b5be07637d9196d2 (patch)
tree1d957cfd5ca8b9ccd0a91fa5d5415599edd241d1 /util/prime_search.h
downloadqidx-20e52f326cdf1b6c2ca9b2c0b5be07637d9196d2.tar.xz
qidx-20e52f326cdf1b6c2ca9b2c0b5be07637d9196d2.zip
Initial commit
Diffstat (limited to 'util/prime_search.h')
-rw-r--r--util/prime_search.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/prime_search.h b/util/prime_search.h
new file mode 100644
index 0000000..842c6d9
--- /dev/null
+++ b/util/prime_search.h
@@ -0,0 +1,8 @@
+#ifndef _NEXT_LARGEST_PRIME_H
+#define _NEXT_LARGEST_PRIME_H
+
+#include <stddef.h>
+
+size_t next_prime_above_lowerbound(size_t n);
+
+#endif /* ifndef _NEXT_LARGEST_PRIME_H */