期刊文献+

浮点数的存贮格式及安全转换

Storage Format and Security Conversion of the Floating Numbers
下载PDF
导出
摘要 在软件编制中数据类型的转换常会出现较大误差,通过分析数据在计算机中的存储格式,以及C语言的编译方法,探讨了出现误差的原因,并给出了在C语言编程环境下,浮点数到整型数的正确转换方法。 Errors often occur in the data type conversion.This thesis investigates possible sources of these errors by analyzing the data storage format in computers and the compilation process in C language, and proposes the correct approach to convert floating numbers to integers in C environment.
作者 王崇晖
机构地区 中国人民解放军
出处 《微机发展》 2003年第a01期107-109,共3页 Microcomputer Development
关键词 C语言 软件设计 浮点数 存贮格式 安全转换 计算机 floating numbers storage format data type conversion
  • 相关文献

参考文献1

  • 1陈火旺.程序设计语言编译原理[M].国防工业出版社,1988..

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部