代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/156798/11772435
txt gasdev.txt
Function GASDEV:real;
var
V1,V2,FAC,R:real;
begin
If ISET^= 0 Then
begin
repeat
V1:=2 * Random - 1;
V2:=2 * Random - 1;
R:=Sqr(V1) + Sqr(V2);
u
www.eeworm.com/read/259696/11772616
cpp drawdemoview.cpp
// DrawDemoView.cpp : implementation of the CDrawDemoView class
//
#include "stdafx.h"
#include "DrawDemo.h"
#include "DrawDemoDoc.h"
#include "DrawDemoView.h"
#ifdef _DEBUG
#define new D
www.eeworm.com/read/156798/11773675
pas unit2.pas
unit Unit2;
interface
uses
unit1;
Function GASDEV:real;
implementation
Function GASDEV:real;
var
V1,V2,FAC,R:real;
begin
If ISET^= 0 Then
begin
repeat
V1:=2
www.eeworm.com/read/259585/11779444
java randomor.java
package random;
import java.util.Random;
/**
* 随机处理器
*
* @author marvy
* 根据给定的条件,产生随机数
*/
public class Randomor {
/*