File: semi_primes.h

package info (click to toggle)
libmath-prime-util-perl 0.73-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,800 kB
  • sloc: perl: 24,676; ansic: 11,471; python: 24; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef MPU_SEMI_PRIMES_H
#define MPU_SEMI_PRIMES_H

#include "ptypes.h"

extern UV  nth_semiprime(UV n);
extern UV  nth_semiprime_approx(UV n);
extern UV  semiprime_count(UV low, UV high);
extern UV  semiprime_count_approx(UV n);

extern UV range_semiprime_sieve(UV** semis, UV lo, UV hi);

#endif