搜索资源列表
cyuanchengxu
- 函数模板T max(T a, T b, T c),使之实现对任何类型数,能从三个数中求出最大数返回。设计各种类型数据(char,short,long,float,double)调用此函数模板。-function template T max (T a, b T, T c), to enable it to achieve any of several types, a few were from the three sought to return to the greatest number.
floatingpoint-calculation
- c语言模拟计算机浮点数计算 1、float stof(char *) //十进制字符串 --> float (如:"-1.0" --> 0xFF800000) 2、float fadd(float, float) 3、float fsub(float, float) 4、float fmul(float, float) 5、float fdiv(float, float) 6、void ftos(char *, float) //float --&g