剖析Intel IA32 架构下C 语言及CPU 浮点数机制 Version 0.01 哈尔滨工业大学 谢煜波 (email: xieyubo@126.com 网址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 这两天翻看一本C 语言书的时候,发现上面有一段这样写到 例:将同一实型数分别赋值给单精度实型和双精度实型,然后打印输出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 运行结果如下:
标签: Version xieyubo Intel email
上传时间: 2013-12-25
上传用户:徐孺
这是一个在在Dynamic C环境下实现的设备web服务器的建立,通过它可以通过web方式管理设备。注意main函数中导入网页的目录要跟你实际的目录一样。
上传时间: 2015-07-08
上传用户:xieguodong1234
ADI公司ADuC841单片机源程序。 I2C.c: ADuC841单片机I2C接口函数。 kei841.h: ADuC841单片机内部寄存器定义。 delay.c:精确延时资函数。 main_new.c ADuC841单片机主函数,实现正弦波的输出和I2C接口LED显示
上传时间: 2015-08-06
上传用户:talenthn
Package of C library extensions for Windows CE operating system. It is a supplement to C library available on Windows CE platform. The main objective of the project is to provide helper utilities for porting applications from Unix and Windows.
标签: library extensions supplement operating
上传时间: 2015-09-02
上传用户:冇尾飞铊
电池设计的充电器 Device : AT90S2333 File name : BC.c Ver nr. : 1.0 Description : Standalone Battery Charger with AT90S2333 (main program) Compiler : IAR icca90 Author : Asmund Saetre / Terje Frostad / Dietmar Koenig Change log : 02.02.2000 Changed to fit Battery Charger refrence design board AS 18.02.2000 Final test and review AS
标签: Description Standalone Device S2333
上传时间: 2014-01-23
上传用户:ruixue198909
Digital Thermostat with High Accuracy -6,00 to 46,00 °C Digital Thermostat We build a digital thermostat for home applications, which controls the room temperature. I used the AT90S2313 microprocessor of ATMEL. The digital thermostat opens the main heating valve of the apartment and the hot water flows in the radiators. Digital Thermostat Board
标签: Thermostat Digital Accuracy digital
上传时间: 2014-01-18
上传用户:D&L37
经典C语言程序设计100例1-10 如【程序1】 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。 2.程序源代码: main() { int i,j,k printf("\n") for(i=1 i<5 i++) /*以下为三重循环*/ for(j=1 j<5 j++) for (k=1 k<5 k++) { if (i!=k&&i!=j&&j!=k) /*确保i、j、k三位互不相同*/ printf("%d,%d,%d\n",i,j,k) } }
上传时间: 2013-12-14
上传用户:hfmm633
IT++ is a C++ library of mathematical, signal processing and communication system routines/functions. Its main use is in simulation of communication systems or for performing research in the area of communications.
标签: communication mathematical processing functions
上传时间: 2014-01-13
上传用户:han_zh
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = open("/dev/QuickMarkLed",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1 close(testdev) return 0 }
标签: s3c2440 driver Linux dev-C
上传时间: 2014-01-01
上传用户:qlpqlq
简单C编译器生成的目标代码是8086的汇编代码(16位),可以在一般的PC上被像MASM之类的汇编编译程序编译,生成可执行文件后,在DOS或Windows控制台下运行。 实现的语言定义如下: 语言类似于tiny语言,不支持过程调用,也就是只有一个main函数,无其他函数和全局变量 基本语句:注释语句(/*…*/),输入语句(int input(void) ),输出语句(void output(int) ),赋值语句。这里的输入输出语句实际上类似于函数调用,可以看作是本语言内部的函数 算术运算符:+、—、*、/ 数据类型:整数.
上传时间: 2016-02-06
上传用户:bakdesec