ieee-floats icon indicating copy to clipboard operation
ieee-floats copied to clipboard

Common Lisp IEEE-754 float en- and decoding

Results 4 ieee-floats issues
Sort by recently updated
recently updated
newest added

I'm using clisp from https://gitlab.com/gnu-clisp/clisp/-/commit/66924971790e4cbee3d58f36e530caa0ad568e5f and attempt to run tests via MacPorts leads to failure: ``` :info:test #P"/opt/local/lib/clisp-2.49.93+/dynmod/asdf.lisp" :info:test (*DEFAULT-PATHNAME-DEFAULTS* :info:test #P"/opt/local/var/macports/build/_Users_catap_src_macports-ports_lisp_cl-ieee-floats/cl-ieee-floats/work/build/system/" :info:test #P"/opt/local/share/common-lisp/system/") :info:test WARNING: Adding method :info:test #...

The code signals an error on overflows, but should probably also signal one on underflows, i.e. when a Common Lisp float is too small to be represented in the desired...

Some compilers like SBCL have some "intrinsics" to access the bits of a float directly. It might be useful. For example, `sb-kernel:double-float-{low, high}-bits`. These intrinsics might be useful for testing,...

On systems that support IEEE NaN and Infinity, it would be nice if ieee-floats could encode and decode such values.