【发布时间】:2013-11-30 12:29:27
【问题描述】:
一切都在标题中:IEEE-754 float、double 和 quad 是否保证 -2、-1、-0、0、1、@987654331 的精确表示@?
【问题讨论】:
-
你是指这六个值,还是一般的整数?
-
Read about the format,并尝试在纸上创造这些价值。
-
顺便说一句,你可以玩得开心here(虽然不是“四人组”)
标签: c++ c floating-point ieee-754 floating-point-precision