代码搜索:random
找到约 10,000 项符合「random」的源代码
代码结果 10,000
www.eeworm.com/read/275163/10833933
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/349325/10835470
h random.h
/* Random number generator */
/* Copyright Numerical Recipes in C */
#define IA 16807
#define IM 2147483647
#define AM (1.0/IM)
#define IQ 127773
#define IR 2836
#define MASK 123459876
#defi
www.eeworm.com/read/349325/10835510
h random.h
/* Random number generator */
/* Copyright Numerical Recipes in C */
#define IA 16807
#define IM 2147483647
#define AM (1.0/IM)
#define IQ 127773
#define IR 2836
#define MASK 123459876
#defi
www.eeworm.com/read/349325/10835511
c random.c
#include "random.h"
/* Copyright Numerical Recipes in C */
double ran0(long *idum)
{
long k;
double ans;
*idum ^= MASK;
k=(*idum)/IQ;
*idum=IA*(*idum-k*IQ)-IR*k;
if (*idum
www.eeworm.com/read/349325/10835534
o random.o
www.eeworm.com/read/419812/10835865
c random.c
/********************************************************/
/* CINVESTAV - IPN */
/* Departamento de Ingener韆 El閏trica */
/* Secci髇 Computaci髇 */
/* */
/*
www.eeworm.com/read/419812/10835868
h random.h
/********************************************************/
/* CINVESTAV - IPN */
/* Departamento de Ingener韆 El閏trica */
/* Secci髇 Computaci髇 */
/* */
/*
www.eeworm.com/read/274950/10843759
dsw random.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/274950/10843764
rc random.rc
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
www.eeworm.com/read/274950/10843773
clw random.clw
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CRandomDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "random.