标签: prolog precision
我是Prolog的新手,写书时我听不懂 A is (12.0) ** (1/2), B is A ** 2.0, write(B).将B写入11.999999999999998,而不是12?
A is (12.0) ** (1/2), B is A ** 2.0, write(B).