The ieee-floats Reference Manual

This is the ieee-floats Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 16:45:26 2024 GMT+0.

Table of Contents


1 Systems

The main system appears first, followed by any subsystem dependency.


1.1 ieee-floats

Convert floating point values to IEEE 754 binary representation

Author

Marijn Haverbeke <>

License

BSD

Source

ieee-floats.asd.

Child Component

ieee-floats.lisp (file).


2 Files

Files are sorted by type and then listed depth-first from the systems components trees.


2.1 Lisp


2.1.1 ieee-floats/ieee-floats.asd

Source

ieee-floats.asd.

Parent Component

ieee-floats (system).

ASDF Systems

ieee-floats.


2.1.2 ieee-floats/ieee-floats.lisp

Source

ieee-floats.asd.

Parent Component

ieee-floats (system).

Packages

ieee-floats.

Public Interface

3 Packages

Packages are listed by definition order.


3.1 ieee-floats

Source

ieee-floats.lisp.

Use List

common-lisp.

Public Interface

4 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


4.1 Public Interface


4.1.1 Macros

Macro: make-float-converters (encoder-name decoder-name exponent-bits significand-bits support-nan-and-infinity-p)

Writes an encoder and decoder function for floating point numbers with the given amount of exponent and significand bits (plus an extra sign bit). If support-nan-and-infinity-p is true, the decoders will also understand these special cases. NaN is represented as :not-a-number, and the infinities as :positive-infinity and :negative-infinity. Note that this means that the in- or output of these functions is not just floating point numbers anymore, but also keywords.

Package

ieee-floats.

Source

ieee-floats.lisp.


4.1.2 Ordinary functions

Function: decode-float32 (bits)
Package

ieee-floats.

Source

ieee-floats.lisp.

Function: decode-float64 (bits)
Package

ieee-floats.

Source

ieee-floats.lisp.

Function: encode-float32 (float)
Package

ieee-floats.

Source

ieee-floats.lisp.

Function: encode-float64 (float)
Package

ieee-floats.

Source

ieee-floats.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables