搜索资源列表
classstr2
- 完善字符串类的运算符功能 1、 利用运算符重载完善字符串类的运算符功能。如: 串+整数;整数+串;浮点数+串;串-串;串/串 等; 2、 编制一个带菜单的小系统,演示该类的运算符操作。 -perfect string Operators such a function, using Operator perfect string category Operators function. Such as : String Integer; Integer string;
circle_wyb
- (1) 用浮点数定义2 个几何量m1 和m2;m2 的缺省值为0.0。 (2) 实现2个构造函数:允许用1 个参数或2个参数声明几何对象。用1 个参数r 声明 的几何对象为半径为r 的圆;用2 个参数r1 和r2 声明的几何对象为r1´ r2 的矩形。所声明 的几何对象的中心在原点。 (3) 定义计算几何对象的面积,周长和对角线长度的成员函数。 (4) 对于给定的实数r,先声明一个半径为r 的圆c1;然后声明一个c1 的外切矩形s, 接着再声明s的外接圆c2。
big_float
- 巨大浮点数计算的模板 可以计算1000位的浮点数
teshupaixu
- 对任意的一组浮点数进行排序,排序规则是成金字塔形,中间最大往后依次是左大右小再左大右小的排列,知道全部排完。-A set of floating-point for any sort, sorting rules are in the pyramid, the largest of big right-left-back followed by major right-small small re-arrangement of the left, know all drained.
calculator
- 科学计算器。可以解读表达式,进行整数、浮点数的加减乘除运算。-Scientific calculator. Expression can be interpreted, for integer, floating-point addition and subtraction, multiplication and division calculations.
BigMultiple
- 该算法可以实现任意大小的整数或浮点数的乘法-The algorithm can achieve any size of integer or floating point multiplication
Modbus_base_Hitech_and_C166
- 基于Hitech和C166的Modbus协议,通过优良的数据结构使得协议信息交互与数据的实际应用访问变得非常简单容易,当前版本支持人机常见的所有数据格式如(有/无符合)字节、字、浮点数,位,数组,等。并且提供有完善的代码注释,相信这必将是网上能够当到的最好Modbus源码!-Based on the Hitech and C166 of the Modbus protocol, through excellent protocol information data structure allow
calc
- 在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器。[设计要求]实现整数浮点数的四则运算,并且还加上了^的运算,支持括号及开始的负数-In a binary arithmetic expression that is designed based on a four decimal arithmetic calculator. [Design requirements] to achieve a four-integer floating-point arithmetic, an
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
high-precision-power
- 浮点数的高精度幂,用数组实现,支持小数,注释超详细-high precision power of a float number
POJ_1001
- c语言环境下的浮点数运算,供大家学习参考-floating calculate
string_trans
- 从文本文件中读取按照一定格式存储的数据,并经过字符串处理,将数据存储到数组中。主要用到了char*到浮点数的转换,文件读取的一些常用函数。-Read from a text file format for storing data according to certain, and after a string processing, the data stored in the array. Main use of the floating-point conversion to char*,
zuchengyuanli1
- 组成原理中对于定点小数的加减运算系统,及浮点数的换算。-In principle for fixed-point decimal addition and subtraction system, and floating point number of conversion.
zuchengyuanli3
- 组成原理中对于定点小数的乘除运算,以及与浮点数之间的转换。-In principle for fixed-point decimal multiply and divide, as well as with floating-point conversion between.
biaodashiqiuzhi
- 输入一个表达式,其中包含0~9及负号小数点组成的浮点数和加减乘除运算符,还应该包含括号。其他字符非法的输入均报错,表达式以#结束。输出运算结果。程序所能达到的结果有:适用于浮点型的计算,且适用于多位数的运算,适用于负数的运算。对输入的表达式有判断对错的功能-Input a expressions, including 0 ~ 9 and minus the decimal point of floating-point and add, subtract, multiply and divide
compute
- 表达式求值:给定一个浮点数混合运算的中缀表达式,分别实现:转换成为后缀表达式,然后求值;直接对中缀表达式求值两种求值算法两种实现方法。表达式中包含的运算符:加法+,减法-,乘法*,除法/,括号(),乘方#等运算符。运算符的优先级和结合性符合数学运算法则。比如:命令行输入 (-2.0)+(1.0+2.0)*3.0-2.0#2.0回车 (1)中缀表达式输出: (-2.0)+ (1.0+2.0)*3.0-2.0#2.0=3.0 (2)后缀表达式输出: -2.0 1.0 2.0 + 3.
atof
- 将字符串转换为浮点数子的小程序 -Please carefully write the upload information, including content descr iption (at least 20 words). Try not to let the owners have spent the time you fix instructions. Can not have a password archive decompression.
calculator
- 递归下降计算表达式。支持浮点数与字符串的运算。支持三目运算符(?:)-Recursive descent calculation expression. Support for floating-point arithmetic and string. Support ternary operator (? :)
IEEE754
- 将单精度浮点数的IEE754表示解析为实数,采用两种方法:移位法和指针转换法。-Analyse the float point number
float_save
- 浮点数存储方法,此方法解决了浮点数不能使用强制转换数据类型,直接拆分存储的难题-Float storage, this method can not be used to solve the floating point data type cast directly split storage problems
