• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:田 祎,樊景博.C语言中浮点数的表示范围浅析[J].软件工程,2016,19(4):8-10.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
C语言中浮点数的表示范围浅析
田 祎,樊景博
(商洛学院经济与管理学院,陕西 商洛 726000)
摘 要: 浮点数是C语言中的一种数据类型,但在标准C中并没有给出其具体的描述,即数的存储格式及表示范 围。部分经典的C语言程序设计教程中给出了浮点数的表示范围,但存在不严谨和值得商榷的地方。结合IEEE754标 准,就C语言中浮点数内在存储格式进行分析并给出结论。
关键词: C语言;浮点数;表示范围
中图分类号: TP313    文献标识码: A
基金项目: 商洛学院教改项目(15jyjx135).
C Language Floating-point Number of Represent the Range and Analysis
TIAN Yi,FAN Jingbo
( School of Economics & Management, Shangluo University, Shangluo 726000, China)
Abstract: The float is a data type in C language,but its in standard C and did not give a specific of description:that is the number of storage format and the scope of representation.Part of classically C language programming tutorial gives a range of floating-point represent,but there is not rigorous and need to discussion.Combined IEEE754 standards,provided analyzation and conclusions in C language in internal storage floating-point format.
Keywords: C language;floating-point;scope of representation


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫