代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/339154/12254644
c random.c
#include "random.h"
long s1,s2;
/*Generate a uniform random number between 0 and 1.*/
double random_source()
{
long z,k;
k = s1 / 53668L;
s1 = 40014L * (s1 - k * 53668L) - k * 12211L;
www.eeworm.com/read/339154/12254656
h random.h
#ifndef _RANDOM_H_
#define _RANDOM_H_
#include
extern long s1,s2;
double random_source();
double generate_random_source();
double generate_gaussian_source(double sigma2);
short
www.eeworm.com/read/339051/12264765
c random.c
/* Maintain source of random numbers for cryptographic keys, etc
* This is inherently machine dependent code
*/
#include "stdio.h"
#include
#include "global.h"
#include "timer.h"
#inc
www.eeworm.com/read/339038/12266529
c random.c
#include
#define USL unsigned long int
#define L0 2147483648
USL RANDOMm(USL x);
main()
{
USL i, n, j;
printf("enter n > 0\n");
scanf("%lu", &n);
j = 63434341;
for (i =
www.eeworm.com/read/338951/12270664
h random.h
#ifndef RANDOM_H
#define RANDOM_H
/*
*******************************************************************************
* ansi c source code
* file name:
* Random.h
* abstract:
* declare the ra
www.eeworm.com/read/338951/12270683
c random.c
/*
*******************************************************************************
* ansi c source code
* file name:
* Random.c
* abstract:
* to provide a series of functions, which can offer ra
www.eeworm.com/read/338951/12270730
h random.h
#ifndef RANDOM_H
#define RANDOM_H
/*
*******************************************************************************
* ansi c source code
* file name:
* Random.h
* abstract:
* declare the ra
www.eeworm.com/read/338951/12270742
c random.c
/*
*******************************************************************************
* ansi c source code
* file name:
* Random.c
* abstract:
* to provide a series of functions, which can offer ra
www.eeworm.com/read/338951/12270799
h random.h
#ifndef RANDOM_H
#define RANDOM_H
/*
*******************************************************************************
* ansi c source code
* file name:
* Random.h
* abstract:
* declare the ra
www.eeworm.com/read/338951/12270810
c random.c
/*
*******************************************************************************
* ansi c source code
* file name:
* Random.c
* abstract:
* to provide a series of functions, which can offer ra