mirror of
https://github.com/rvtr/ctr_firmware.git
synced 2025-10-31 07:51:08 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@283 b871894f-2f95-9b40-918c-086798483c85
27 lines
520 B
C
27 lines
520 B
C
#ifndef _RANDOMLIB_H
|
|
#define _RANDOMLIB_H
|
|
|
|
#include "revolution.h"
|
|
|
|
/*
|
|
#if _IOP
|
|
#include "types.h"
|
|
#else
|
|
#include "revolution/types.h"
|
|
#endif
|
|
*/
|
|
|
|
#include "wfs_Platform.h"
|
|
|
|
void RandomInitialise(int ij, int kl);
|
|
double RandomUniform(void);
|
|
double RandomGaussian(double mean, double stddev);
|
|
int RandomInt(int lower, int upper);
|
|
double RandomDouble(double lower, double upper);
|
|
u32 RandomU32();
|
|
|
|
#define NUM_UNIQUE_RANDOM_SEEDS_U32 0x382C7A42
|
|
void RandomSetSeedU32(u32 nSeed);
|
|
|
|
#endif
|