【发布时间】:2014-04-08 10:17:48
【问题描述】:
我学习 Common Lisp 2 个月了,遇到一个难题,代码如下:
CL-USER> (round 33.6)
34
-0.40000153
有人解释一下吗?谢谢
【问题讨论】:
-
另见Mysterious problem with floating point in LISP - time axis generation, exp in SBCL is wrong?, Floating Point Precision Error, (Racket/Scheme) Subtraction yields result off by incredibly small margin, Why in Common Lisp, when I run the function “acos” with an argument of 1, is the answer is wrong?, ...
标签: lisp common-lisp floating-point-precision ccl