在SBCL中出现错误?

Ser*_*nko 4 lisp sbcl

CL-USER>(exp 1)
2.7182817

为什么?它应该是2.7182818(从2.7182818284590452353602874713526624977572470936999595749669舍入...)

SBCL 1.0.29.11.debian

Sva*_*nte 8

这是IEEE单浮点格式固有的舍入误差.

CL-USER> (exp 1.0d0)
2.718281828459045d0
Run Code Online (Sandbox Code Playgroud)