搜索资源列表
C_Language_in_C51_progromme
- 单片机的开发应用中,已逐渐开始引入高级语言,C语言就是其中的一种。对用惯了汇编的人来说,总觉得高级语言’可控性’不好,不如汇编那样随心所欲。但是只要我们掌握了一定的C语言知识,有些东西还是容易做出来的,以下是笔者实际工作中遇到的几个问题,希望对初学C51者有所帮助。 1.C51热启动代码的编制。 2.直接调用EPROM中已固化的程序。 3.将浮点数转化为字符数组。-1.The code of warm boot for C51。 2.Calling the static code
image
- 读取数据库中的二进制文件并转换为浮点数重新存入数据库-Reading in the database and converted to floating-point binary file into the database to re-
storeFloat
- 把一个浮点数存储到EEPROM中,有缩小放大法,这个要价绍的是直接存储法。优点是速度快。-To a floating-point number stored in EEPROM, there are narrow amplification method, the asking price is a direct storage method Shao. Advantage is speed.
20
- 有理数的四则运算,结果分别用分数和浮点数两种方式进行输出,cpp代码通过测试-Rational numbers of the four operations, the results were used to score and floating-point output in two ways, cpp code to pass the test
1
- 1.编写一个简单的程序,输出“Welcome you”,并给程序加一行注释“First C++ program”。 2.编写一个完整的包含输入和输出的简单C++程序。 3.编写内置函数求解2X2+4X+5的值,X为整数,并用主函数调用该函数。 4.利用函数重载,重载上面的函数,X为浮点数。 5.编写一个程序,对一个整数数组求和,求和的结果使用全局变量sum存储,同时对整数中的奇数求和,结果使用局部变量sum存储,在主程序将两个结果输出。 6.编写一个程序动态分配一个浮点空间,
lixminC
- 这是编译原理词法分析源程序和实验报告。本程序亮点在于: 1、能够处理ANSI C 定义的42种运算符,32个关键字。 2、能够识别并且抽取预处理语句(如#include, #define , #ifdef....)存到preprocess.log中(格式例子为:line 0 : #include<stdio.h>) 3、能够识别并剔除两种注释(//和/* */) 4、能够识别简单的词法错误 missing terminating " 并且告诉你是在第几行出的错。 5、能够识别浮点数,
decimal_to_binary
- 将c++中普通浮点数转化为汇编语言的IEEE浮点数-Be c++ in the ordinary floating-point numbers into IEEE floating point assembly language
Caculator
- 实现计算器的基本功能。中间包含了多种报错的功能(除零、括号的匹配等),实现计算器的加减乘除、括号、浮点数、负数的计算等。-To achieve the basic function calculator. The middle contains a variety of Baocuo functions (except for zero, bracket matching, etc.) to achieve the addition and subtraction multiplication
fastFloatToHFloat
- IEEE754 浮点数与半浮点数相互转换-IEEE754 floating-point and semi-floating-point conversion between
caculate
- 《数据结构》 课设 利用栈计算浮点数的加,减,乘,除,有一定的判错功能-" Data Structure" class-based calculation of floating-point increases in the use of the stack, subtract, multiply, divide, there is a certain sub-error functions
calc
- 小型计算器代码.设计一个小型计算器可进行加、减、乘、除、乘方、开方、括号运算。该计算器不是根据输入运算符的先后而从头算到尾而没有进行运算符的优先级的判定,而是先判断运算符的优先级的高低然后依次进行计算的。上述的几种运算,可以在一位或多位的浮点数间进行运行并且可以准确的计算出结果。 -Small calculator code. Design a mini-calculator can be add, subtract, multiply, divide, involution, administ
IEEE
- IEEE浮点数计算机内二进制表示显示 -IEEE floating-point binary representation inside the computer display floating-point binary representation inside the computer display
main
- 一个用C编写的3字节浮点数转十进制的软件。-Written using a C-byte floating-point switch to three decimal software.
FloatE2
- 一个在C#环境下编写的3字节浮点数与十进制数之间的自动换算软件。-One in the C# environment prepared by the three-byte floating point number with decimal between the automatic conversion software.
sort
- 分别用MFC,winform,windows API实现三个整数、浮点数或者字符排序的windows窗口界面-Were used MFC, winform, windows API to achieve three integers, floating point, or characters to sort windows windows interface
flaot
- 一个简单的计算器,能进行浮点数的求和,良好的界面-A simple calculator, able to carry out floating-point summation, a good interface
ltf-0.02.tar
- 任意精度的浮点数C代码实现,适用于速度不高的情况下-Arbitrary-precision floating-point C code for implementation, applicable to the case of the speed is not high
floatmul
- 用verilog实现三十二位浮点数算法,通过状态机的方法实现。-32 floating-point implementation using verilog algorithm, the method adopted by the state machine implementation.
FLOAT_TO_HEX
- 浮点数转hex,float to hex-float to hex,浮点数转hex
llh2xyz
- 一个用单精度浮点数库计算的经纬度转换XYZ坐标转换源程序,精度达到双精度浮点数的精度,在VC或borlandc下均可运行的程序.-float to generate double accuracy. transfer (Latitude,Longitude,Height) to (X,Y,Z)