Units
Classes, Interfaces, Objects
Types
Variables
Constants
Functions, Procedures
Identifiers

Unit rjPrimes

Description

Prime number calculation.

Classes, interfaces and objects

None.

Functions and procedures

Overview

function GetClosestPrime(const n: Cardinal): Cardinal;

Description

function GetClosestPrime(const n: Cardinal): Cardinal;

Returns the first prime number that is equal to or greater than n.

Types

None.

Constants

None.

Variables

None.

Author

Ralf Junker -- delphi@zeitungsjunge.de


rjExContainer Library Version 0.2.
Copyright Ralf Junker 2000-2001.
http://www.zeitungsjunge.de/delphi/.