代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/358610/6282125
h random.h
// file : random.h
// version: 1.03 [August 21, 1995]
#ifndef _random_h_
#define _random_h_
/* Mods by Art Stephens so compiles on Sun using CC, does anyone know */
/* the correct header files to
www.eeworm.com/read/358610/6282139
h random.h
// file : random.h
// version: 1.03 [August 21, 1995]
#ifndef _random_h_
#define _random_h_
/* Mods by Art Stephens so compiles on Sun using CC, does anyone know */
/* the correct header files to
www.eeworm.com/read/358610/6282453
h random.h
// file : random.h
// version: 1.03 [August 21, 1995]
#ifndef _random_h_
#define _random_h_
/* Mods by Art Stephens so compiles on Sun using CC, does anyone know */
/* the correct header files to
www.eeworm.com/read/154224/6286263
c random.c
int random(int n1,int n2)
{
int x;
do
{
x=rand(n);
}while(x>n1||x
www.eeworm.com/read/274660/6288444
c random.c
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiven
www.eeworm.com/read/385731/6313012
txt random.txt
#include
#include
#define S 2
float Xn=12345;//Seed & Iter
float Rn;//Return Val
void InitSeed(float inX0)
{
Xn=inX0;
}
/*
www.eeworm.com/read/264967/6352130
c random.c
/*-----------------------------------------------------------------
Random number generator by George Marsaglia algorithm
From AMBER subroutines: amrset and amrand
www.eeworm.com/read/264967/6352138