Back to index

kdeartwork  4.3.2
Defines | Functions | Variables
xs_yarandom.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define frand(f)

Functions

unsigned int ya_random (void)
void ya_rand_init (unsigned int)

Variables

static double _frand_tmp_

Define Documentation

#define frand (   f)
Value:
(_frand_tmp_ = (((double) random()) /                          \
                (((double) ((unsigned int)~0)) / ((double) (f)))),    \
   _frand_tmp_ < 0 ? (-_frand_tmp_) : _frand_tmp_)

Definition at line 45 of file xs_yarandom.h.


Function Documentation

void ya_rand_init ( unsigned  int)
unsigned int ya_random ( void  )

Variable Documentation

double _frand_tmp_ [static]

Definition at line 44 of file xs_yarandom.h.