代码搜索结果
找到约 10,000 项符合
Power 的代码
freqtest.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
ucosii_unsp.lik
Version: 3.0
Options: m37
Obj: "C:\Program Files\Sunplus\unSP IDE 1.16.0\startupD.obj"
Obj: "E:\power\UCOSII_unSP\Debug\Resource.obj"
Obj: "E:\power\UCOSII_unSP\Debug\os_core.obj"
Obj: "E:\power\
transmitul.m
function [cul, iul, sirul]=transmitul(b, k, pul, g, noise)
% DESCRIPTION [cul, iul, sirul]=transmitul(b, k, pul, g, noise)
% Calculates SIR uplink.
% INPUT
% b -- base station index
% k --
ch03.02.c
// #include
#include
/**
** 2 raised to the power of 10: 1024
**/
int main()
{
int value = 2;
int pow = 10;
cout
powers.cpp
// powers.cpp A program to prepare and reference a 2-d array of integer powers
// ASSUMPTIONS: the integers 0 through 9 are represented by powers 1 through 4
#include
// A function t
tc8.dat
第7章 函 数(上)
C语言是通过函数来实现模块化程序设计的.所以较大的C语言应用程序,往往是由多个函数组成的,每个函数分别对应各自的功能模块.
7.1 函数的定义与调用
7.1.1 函数的定义
7.1.2 函数的返回值与函数类型
7.1.3 对被调用函数的说明和函数原型
7.1.4 函数的调用
7.1.5 函数的形参与实参
...
funtc8b.dat
exp
#include
#include
int main(void)
{
double result;
double x = 4.0;
result = exp(x);
printf("'e' raised to the power of %lf(e^%lf) = %lf
",x,x,result);
codetc12b.dat
有时需要用extern来声明外部变量,以扩展外部变量的作用域.
1. 在一个文件内声明外部变量
如果外部变量不在文件的开头定义,其有效的作用范围只限于定义处到文件终了.如果在定义点之前的函数想引用该 外部变量,则应该在引用之前用关键字extern对该变量作"外部变量声明".表示该变量是一个已经定义的外部变量. 例如:
用extern声明外部变量,扩展 ...
overflow_test.pin
-- Copyright (C) 1991-2006 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
rsa.c
#include "stdlib.h"
unsigned long n;
int e,d;
unsigned p,q;
unsigned char text_8[100];
unsigned text_16[100],secu_16[100];
void public_key_product();
void person_key_product();
int gcd(unsign