rngs Module Reference

Functions/Subroutines

integer(kind=i8) function, public kiss64 (seed)
 
integer(kind=i8) function, public superkiss64 ()
 
real function i8tod (x)
 Convert integer I8 random numbers to double precision real values in [0,1]. More...
 
real function, public dkiss64 ()
 

Variables

integer, parameter, public i8 = 8
 

Detailed Description

Author
Manuel Jung

random number generators Kiss64: Period: \( > 2^{124} \approx 2.1 \cdot 10^{37} \) Source: https://de.wikipedia.org/wiki/KISS_(Zufallszahlengenerator) http://fortranwiki.org/fortran/show/kiss64 DKiss64: Kiss64 converted to double intervall [0,1] SuperKiss64: A Super KISS. Period of \( 5\cdot 2^{1320480} \cdot (2^{64}-1) \) A KISS (Keep-It-Simple-Stupid) RNG combining, by addition mod \( 2^{32} \) , three simple RNGs: CMWC (Complementary-Multiply-With-Carry)

Function/Subroutine Documentation

◆ dkiss64()

real function, public rngs::dkiss64 ( )

Definition at line 181 of file rngs.f90.

◆ i8tod()

real function rngs::i8tod ( integer(kind=i8 x)
private

Convert integer I8 random numbers to double precision real values in [0,1].

Definition at line 161 of file rngs.f90.

◆ kiss64()

integer(kind=i8) function, public rngs::kiss64 ( integer(kind=i8), optional  seed)

Definition at line 62 of file rngs.f90.

◆ superkiss64()

integer(kind=i8) function, public rngs::superkiss64 ( )

Definition at line 96 of file rngs.f90.

Variable Documentation

◆ i8

integer parameter public rngs::i8 = 8

Definition at line 47 of file rngs.f90.