首页 > 其他 > 详细

[CareerCup] 5.2 Binary Representation of Real Number 实数的二进制表示

时间:2015-08-11 15:54:49      阅读:191      评论:0      收藏:0      [点我收藏+]

 

5.2 Given a real number between 0 and 1 (e.g., 0.72) that is passed in as a double, print the binary representation. If the number cannot be represented accurately in binary with at most 32 characters, print "ERROR."

 

[CareerCup] 5.2 Binary Representation of Real Number 实数的二进制表示

原文:http://www.cnblogs.com/grandyang/p/4721047.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!