guicho271828 / common-lisp-extensions

list of extensions beyond CL available in lisp implementations, and the status of its spread.
21 stars 0 forks source link

IEEE float extensions #24

Closed guicho271828 closed 5 years ago

guicho271828 commented 5 years ago

Support for NaN, Infty, and masking the floating point arithmetic errors. See ieee-floats and float-featuresalso. Float-features is more on the complete side.

Shinmera commented 5 years ago

Have you read float-features' readme? All of these implementations and more are supported.

guicho271828 commented 5 years ago

That's great. I didnt have enough mental energy to check the detail. I appreciate if you help other tasks too.

guicho271828 commented 5 years ago

Why are they missing the NaN constants? (I might be misunderstanding NaN)

Shinmera commented 5 years ago

Because there is no NaN constant. Multiple IEEE floats can be NaN. That's why there's a float-nan-p.

guicho271828 commented 5 years ago

didn't know that, thanks!

guicho271828 commented 5 years ago

Given that it covers most impls, it would be safe to say this is a de-facto standard. This issue will be moved to the "defacto standard" status.