代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
pi01.c
#include
static long num_steps = 100000;
double step;
#define NUM_THREADS 2
void main ()
{
int i;
double x, pi, sum[NUM_THREADS];
step = 1.0/(double) num_steps;
omp_set
pi02.c
#include
static long num_steps = 100000;
double step;
#define NUM_THREADS 4
void main ()
{ int i;
double x, pi, sum[NUM_THREADS];
step = 1.0/(double) num_steps;
omp_set_num
pi03.c
#include
static long num_steps = 100000;
double step;
#define NUM_THREADS 8
void main ()
{
int i,id;
double x, sum, pi=0.0;
step = 1.0/(double) num_steps;
omp_set_num_threads(NU
pi04.c
#include
static long num_steps = 100000;
double step;
#define NUM_THREADS 8
void main ()
{ int i;
double x, pi, sum = 0.0;
step = 1.0/(double) num_steps;
omp_set_num_threa
bf_pi.h
/* Deprecated/legacy */
/* crypto/bf/bf_pi.h */
/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric
pi_extr.h
/*************************************************************************/
/* */
/* Copyright (c) 1993-2001 Accelerated
pi_defs.h
/*************************************************************************/
/* */
/* Copyright (c) 1993-2001 Accelerated