Welcome![Sign In][Sign Up]
Location:
Search - ftoa

Search list

[Algorithmftoa.c

Description: This a fast floating point to string conversion function. Avoids the use of unsafe sprintf function. Works with float and double types. Correctly manages +inf, -inf, nnan (not a number).-This is a fast floating point to string conversion function. Avoids the use of unsafe sprintf function. Works with float and double types. Correctly manages+inf,-inf, nnan (not a number).
Platform: | Size: 1024 | Author: steux | Hits:

[Algorithmftoa

Description: 将浮点型数据转换为字符型数据的函数,在编程需要此功能时可方便调用此函数。-Stresses as a function of floating-point data conversion character data when programming can easily call this function.
Platform: | Size: 1024 | Author: 欧阳 | Hits:

[Other浮点数运算

Description: 浮点数的表示与算术运算算法分析,要求理论推导与程序模拟。 算术运算包括字符串到浮点数、浮点数到字符串的转换,加、减、乘、除四则运算等。要有说明文档,包括算法证明、程序框图、使用方法、特殊处理(溢出、数位扩展)、实例分析等等。字符串转换可能稍难。 typedef unsigned int dwrd; #32-bit char* ftoa(dwrd); dwrd atof(char*); dwrd fadd(dwrd, dwrd); dwrd fsub(dwrd, dwrd); dwrd fmul(dwrd, dwrd); dwrd fdiv(dwrd, dwrd);(The representation of floating-point number and the analysis of arithmetic operation algorithm require theoretical derivation and program simulation. Arithmetic operations include string to floating point, floating point to string conversion, addition, subtraction, multiplication, division and so on. Documentation should be provided, including algorithm proof, program block diagram, usage, special handling (overflow, digital expansion), case analysis, etc. String conversion can be slightly difficult. typedef unsigned int dwrd; #32-bit char* ftoa(dwrd); dwrd atof(char*); dwrd fadd(dwrd, dwrd); dwrd fsub(dwrd, dwrd); dwrd fmul(dwrd, dwrd); dwrd fdiv(dwrd, dwrd);)
Platform: | Size: 547840 | Author: 游哉 | Hits:

CodeBus www.codebus.net