代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
spark2pi.lif
#Life 1.05
#D Spark to Pi fuse
#D by Al Hensel, 1987
#D See also REVFUSE.
#N
#P -44 -40
*.*
.**
.*
#P -12 3
**
**
.
.
.
.
.
.
.
**
**
.
.
.
.
.
.
.
**
**
.
.
.
.
.
.
pi_great_version.cc
#include
#include "mpi.h"
int main(int argc, char *argv[])
{
int n, rank, size, i;
double PI25DT = 3.141592653589793238462643;
double mypi, pi, h, sum, x;
MPI::Init
t2pi.m
% t2pi.m - T to Pi transformation
%
% Usage: Z123 = t2pi(Zabc)
%
% Zabc = impedances of T network = [Za,Zb,Zc]
% Z123 = impedances of Pi network = [Z1,Z2,Z3]
%
% notes: Z123 and Zabc are Lx3 ma
pi2t.m
% pi2t.m - Pi to T transformation
%
% Usage: Zabc = pi2t(Z123)
%
% Z123 = impedances of Pi network = [Z1,Z2,Z3]
% Zabc = impedances of T network = [Za,Zb,Zc]
%
% notes: Z123 and Zabc are Lx3 ma
fuzzy_pi_vec.asm
.include "lf2407_regs.h" ;引用头部文件
;建立中断向量表
.sect ".vectors" ;定义主向量段
Reset_VEC B _cy_begin ;PM 0 Reset Vector 1
INT1 B GISR1 ;PM 2 Int level 1 4
INT2 B PHANT
pi.sci.svn-base
function a = pi()
// the pi constant - for Matlab compatibility
a = %pi;
endfunction
tab0_pi.asm
* Cosine table
.def tab_0_PI
* .data
.sect "tab_0_PI" ; 1024 points cosine table
tab_0_PI
.word 16384,16384,16384,16383,16383,16382,16381,16380
.word 16379,16378,16376,16375,16373,1
1000pi(2).txt
Arctan(1/5)迭代次数:725
Arctan(1/239)迭代次数:213
运算时间:0.047秒
3.141592653 589793238 462643383 279502884 197169399 375105820 974944592 307816406 286208998 628034825 342117067 982148086 513282306 647093844 6