Classes | Typedefs | Functions
mmc_rand_drand48.h File Reference

Windows 32 port of drand48_r random number generator from libgw2c. More...

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
#include <ieee754.h>
#include <string.h>
Include dependency graph for mmc_rand_drand48.h:

Go to the source code of this file.

Classes

struct  drand48_data
 Data structure for communication with thread safe versions. More...
 

Typedefs

typedef signed __int8 sint8
 
typedef unsigned __int8 uint8
 
typedef signed __int16 sint16
 
typedef unsigned __int16 uint16
 
typedef signed __int32 sint32
 
typedef unsigned __int32 uint32
 
typedef signed __int64 sint64
 
typedef unsigned __int64 uint64
 

Functions

int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer)
 
int __erand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, double *result)
 
int drand48_r (struct drand48_data *buffer, double *result)
 
int seed48_r (unsigned short int seed16v[3], struct drand48_data *buffer)
 
double erand48 (unsigned short int xsubi[3])
 

Detailed Description

Windows 32 port of drand48_r random number generator from libgw2c.