代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
pi_mc.c
/*
NAME:
Pi_mc: PI Monte Carlo
Purpose:
This program uses a Monte Carlo algorithm to compute PI as an
example of how random number generators are used to solve problems.
Note th
pi_mc.c
/*
NAME:
Pi_mc: PI Monte Carlo
Purpose:
This program uses a Monte Carlo algorithm to compute PI as an
example of how random number generators are used to solve problems.
Note th
bf_pi.h
/* crypto/bf/bf_pi.h */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@mincom.oz.au).
pi.php3
pi
pi_impl.java
/**
*
* Program : Pi_Impl.java (Example Application Program)
*
* Author : Vijayakrishnan Menon
*
* Date : 20th Feb 2006
*
* Organization : Centre for Exc
pi.f90
!===================== 圆周率π的计算 ==============================!
! π = 32*Arctan(1/10) - 4*Arctan(1/239) - 16*Arctan(1/515) !
! =====================================================
412 pi.cpp
#include
#include
#include
using namespace std;
int gcd(int a,int b)
{
int x,z;
if(b==0)
return a;
x=a%b;
z=gcd(b,x);
return z;
}
i