PPL Logo

libs/ck-libs/metis/GKlib/random.c File Reference

Various routines for providing portable 32 and 64 bit random number generators. More...

Go to the source code of this file.

Functions

 GK_MKRANDOM (gk_c, GK_MKRANDOM(size_t, char)
uint64_t gk_randint64 (void)
uint32_t gk_randint32 (void)


Detailed Description

Various routines for providing portable 32 and 64 bit random number generators.

Date:
Started 5/17/2007
Author:
George
Version:
$Id: random.c 11793 2012-04-04 21:03:02Z karypis $ 

Definition in file random.c.


Function Documentation

GK_MKRANDOM ( gk_c  ,
GK_MKRANDOM(  size_t,
char   
)

Create the various random number functions

Definition at line 17 of file random.c.

uint64_t gk_randint64 ( void   ) 

Definition at line 84 of file random.c.

References gk_randinit(), int, and x.

Referenced by gk_randint32().

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t gk_randint32 ( void   ) 

Definition at line 125 of file random.c.

References gk_randint64().

Here is the call graph for this function:


Generated on Mon Sep 21 08:09:06 2020 for Charm++ by  doxygen 1.5.5