代码搜索结果
找到约 10,000 项符合
Power 的代码
flip_latch.pin
-- Copyright (C) 1991-2004 Altera Corporation
-- Any megafunction design, and related netlist (encrypted or decrypted),
-- support information, device programming or simulation file, and a
microwave_timer.pin
-- Copyright (C) 1991-2007 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
timer.pin
-- Copyright (C) 1991-2007 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
xt4-16file1.cpp
#include
using namespace std;
int a;
int main()
{extern int power(int);
int b=3,c,d,m;
coutm;
c=a*b;
cout
ex3_2.cpp
//【例3.2】说明实参和形参对应关系的示例。
#include
using namespace std;
float power(float x,int n){ //求x的n次幂
float pow=1;
while(n--)
pow*=x;
return pow;
}
int main(){
int n=3;
float x
test.dpr
{$apptype console}
program Ural_1309(Input,Output);
type
TIndex=Longint;
function Power(A:TIndex;X:TIndex):TIndex;
begin
A:=A mod 9973;
Result:=1;
while X>0 do
begin
Dec(X);
Result
ex.dpr
{
AC in 0.046 sec
"test.dpr" is the simple program(stupid program).
Write a simple program which precomputes values for all n (it may be a long time)
, writes to file the values for each n=10^5
clkgen.pin
-- Copyright (C) 1991-2007 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
fftofwhitenoise.txt
**3.白噪声****************%
fs=10;%设定采样频率
t=-5:0.1:5;
x=zeros(1,100);
x(50)=100000;
figure(3);
subplot(231);
plot(t(1:100),x);%作白噪声的时域波形
xlabel('t');
ylabel('y');
title('白噪声时域波形');
grid;
%进行F