#ifdef __cplusplus
extern "C" {
#endif
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#ifdef __cplusplus
}
#endif


double __0FEran2Ui(unsigned x);
double __0FEran1Pi(int *);
double __0FGNnoisePi(int *);
double __0FFran1aPi(int *);

MODULE = ran		PACKAGE = ran		PREFIX=ran_
PROTOTYPES: ENABLE


double
ran_ran2(x)
	unsigned x;
	CODE:
	RETVAL = __0FEran2Ui(x);
	OUTPUT:
	RETVAL

double
ran_ran1()
	CODE:
	RETVAL = __0FEran1Pi(0);
	OUTPUT:
	RETVAL

double
ran_Nnoise()
	CODE:
	RETVAL = __0FGNnoisePi(0);
	OUTPUT:
	RETVAL

double
ran_ran1a()
	CODE:
	RETVAL = __0FFran1aPi(0);
	OUTPUT:
	RETVAL
