Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module
Ulm's Oberon Library:
Card1024s
NAME
Card1024s - implementation of 1024 bit cardinals
SYNOPSIS
CONST nrOfBlocks = 32; blockLen = 32;
TYPE Card1024 = POINTER TO Card1024Rec;
TYPE Card1024Rec =
RECORD
(IntOperations.OperandRec)
block: ARRAY nrOfBlocks OF Types.Int32;
END;
PROCEDURE Create(VAR op: Operations.Operand);
DESCRIPTION
Card1024s is an implementation of Operations and
IntOperations and provides arithmetic operations for
1024 bit cardinals. Card1024s defines during its initialization an
appropriate interface for Operations resp. IntOperations.
A 1024 bit number is represented as an array of blocks and each block is
represented as an Types.Int32. Ultimately, there are nrOfBlocks
blocks of length blockLen.
Create
creates and initializes an operand op of type Card1024.
SEE ALSO
- PersistentObjects
-
interface for persistent objects
- Types
-
collection of compiler-dependent base types
- Operations
-
generic interface for arithmetic operations
- IntOperations
-
generic interface for arithmetic integer operations
AUTHOR
Frank B.J. Fischer
Edited by: borchert, last change: 1997/04/03, revision: 1.1, converted to HTML: 1997/04/28
Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module