The primecount Reference Manual

This is the primecount Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jan 15 07:26:26 2023 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 primecount

prime counting of sublinear complexity

Author

Aaron Chen

License

MIT

Source

primecount.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 primecount/primecount.asd

Source

primecount.asd.

Parent Component

primecount (system).

ASDF Systems

primecount.


3.1.2 primecount/package.lisp

Source

primecount.asd.

Parent Component

primecount (system).

Packages

primecount.


3.1.3 primecount/primecount.lisp

Dependency

package.lisp (file).

Source

primecount.asd.

Parent Component

primecount (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 primecount

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: prime-count (n)
Package

primecount.

Source

primecount.lisp.

Function: prime-count-mod4 (n)

Count primes of the forms 4m+1 and 4m+3 no larger than n.

Package

primecount.

Source

primecount.lisp.

Function: prime-sum (n)
Package

primecount.

Source

primecount.lisp.


5.2 Internals


5.2.1 Types

Type: u128 ()
Package

primecount.

Source

primecount.lisp.

Type: u64 ()
Package

primecount.

Source

primecount.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables