代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/304690/13789195
txt sin.txt
double sin(double d)
{
int signal=1;
if(d=Dpi)d=d-Dpi;
double r,t; //变量的初始值为0
int i=1,j;
while(i
www.eeworm.com/read/304676/13789335
cpp mao.cpp
//程序名: yufashini.cpp
//作者:小万(wbaobao)
//邮箱:wbaobao#zj.com
//QQ:421404493
//创建日期:2004.10
//程序功能:PL/0语言语法分析程序,检测pl/0源程序的语法是否正确
//程序不足之处:语言中对分程序的定义中没有包含常量的定义说明。错误处理能力不是很强。
/*各个符号和产生式说明
对应的函数
www.eeworm.com/read/304673/13789376
m a_sub.m
function a=a_sub(a1,a2)
%
% A=A_SUB(A1,A2)
% Subtract two angles so that the result
% always remains between +/- pi
%
% simple function to get angle subtraction consistent
a=a1-a2;
%
www.eeworm.com/read/304673/13789389
m a_add.m
function a=a_add(a1,a2)
%
% A=A_ADD(A1,A2)
% Add two angles so that the result
% always remains between +/- pi
%
a=a1+a2;
% get to within 2pi of the right answer
a=a - (2.0*pi*fix(a/(2.0*
www.eeworm.com/read/304670/13789682
m a_sub.m
function a=a_sub(a1,a2)
%
% A=A_SUB(A1,A2)
% Subtract two angles so that the result
% always remains between +/- pi
%
% simple function to get angle subtraction consistent
a=a1-a2;
%
www.eeworm.com/read/304670/13789696
m a_add.m
function a=a_add(a1,a2)
%
% A=A_ADD(A1,A2)
% Add two angles so that the result
% always remains between +/- pi
%
a=a1+a2;
% get to within 2pi of the right answer
a=a - (2.0*pi*fix(a/(2.0*
www.eeworm.com/read/304589/13790946
c main.c
#define uchar unsigned char //定义一下方便使用
#define uint unsigned int
#define ulong unsigned long
#include //包括一个52标准内核的头文件
char code dx516[3] _at_ 0x003b;//这是为了仿真设置的
sbit P10=P1^
www.eeworm.com/read/304585/13790998
c main.c
#define uchar unsigned char //定义一下方便使用
#define uint unsigned int
#define ulong unsigned long
#include //包括一个52标准内核的头文件
sbit P10 = P1^0; //头文件中没有定义的IO就要自己来定义了
sbit P11 = P1^1;
sb
www.eeworm.com/read/304501/13792075
m m5.m
a3=[0,0,1,0,1];%初值
b3=zeros(1,31);
u3=zeros(1,31);
b3(1,1)=a3(1);
for i=2:31
c31=a3(1);
c32=a3(2);
c33=a3(4);
c34=a3(5);
for j=2:5
a3(j-1)=a3(j);
www.eeworm.com/read/304501/13792078
m m6.m
%6阶m序列 1+x+x^6%
a=zeros(63,7)
b=zeros(7,1)
c=zeros(1,63)
b=[0 0 0 0 0 1 0]
a(1,6)=1
for i=2:63,
temp=b(1,7);
b(1,7)=b(1,6);
b(1,6)=b(1,5);
b(1,5)=b(1,4);
b(1,4)=b(1,3);