GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HPL_jumpit(3) HPL Library Functions HPL_jumpit(3)

HPL_jumpit - jump into the random sequence.

#include "hpl.h"

void HPL_jumpit( int * MULT, int * IADD, int * IRANN, int * IRANM );

HPL_jumpit jumps in the random sequence from the number X(n) encoded in IRANN to the number X(m) encoded in IRANM using the constants A and C encoded in MULT and IADD: X(m) = A * X(n) + C. The constants A and C obviously depend on m and n, see the function HPL_xjumpm in order to initialize them.

MULT (local input) int *
On entry, MULT is an array of dimension 2, that contains the 16-lower and 15-higher bits of the constant A.
IADD (local input) int *
On entry, IADD is an array of dimension 2, that contains the 16-lower and 15-higher bits of the constant C.
IRANN (local input) int *
On entry, IRANN is an array of dimension 2, that contains the 16-lower and 15-higher bits of the encoding of X(n).
IRANM (local output) int *
On entry, IRANM is an array of dimension 2. On exit, this array contains respectively the 16-lower and 15-higher bits of the encoding of X(m).

HPL_ladd (3), HPL_lmul (3), HPL_setran (3), HPL_xjumpm (3), HPL_rand (3).
December 2, 2018 HPL 2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.