This is the cl-minifloats Reference Manual, version 0.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Fri May 15 11:54:42 2026 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-minifloatsMinifloats (minifloat < single-float) support for Common Lisp
Artyom Bologov
(GIT https://codeberg.org/aartaka/cl-minifloats.git)
BSD-2 Clause
0.0.0
float-features (system).
package.lisp (file).
cl-minifloats.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-minifloats/cl-minifloats.lisppackage.lisp (file).
cl-minifloats (system).
0.1.1-float (type).
0.1.1-infinity (special variable).
0.1.1-infinity-p (function).
0.1.1-nan (special variable).
0.1.1-nan-p (function).
0.1.1-to-float (function).
0.2.1-float (type).
0.2.1-infinity (special variable).
0.2.1-infinity-p (function).
0.2.1-nan (special variable).
0.2.1-nan-p (function).
0.2.1-to-float (function).
1.1.1-float (type).
1.1.1-infinity-p (function).
1.1.1-nan (special variable).
1.1.1-nan-p (function).
1.1.1-negative-infinity (special variable).
1.1.1-positive-infinity (special variable).
1.1.1-to-float (function).
1.2.1-abnormal-float (type).
1.2.1-abnormal-to-float (function).
1.2.1-float (type).
1.2.1-infinity-p (function).
1.2.1-nan (special variable).
1.2.1-nan-p (function).
1.2.1-negative-infinity (special variable).
1.2.1-positive-infinity (special variable).
1.2.1-to-float (function).
1.3.2-float (type).
1.3.2-infinity-p (function).
1.3.2-nan (special variable).
1.3.2-nan-p (function).
1.3.2-negative-infinity (special variable).
1.3.2-positive-infinity (special variable).
1.3.2-to-float (function).
1.3.4-float (type).
1.3.4-infinity-p (function).
1.3.4-nan (special variable).
1.3.4-nan-p (function).
1.3.4-negative-infinity (special variable).
1.3.4-positive-infinity (special variable).
1.3.4-to-float (function).
1.4.3-2-float (type).
1.4.3-2-infinity-p (function).
1.4.3-2-nan (special variable).
1.4.3-2-nan-p (function).
1.4.3-2-negative-infinity (special variable).
1.4.3-2-positive-infinity (special variable).
1.4.3-2-to-float (function).
1.4.3-float (type).
1.4.3-infinity-p (function).
1.4.3-nan (special variable).
1.4.3-nan-p (function).
1.4.3-negative-infinity (special variable).
1.4.3-positive-infinity (special variable).
1.4.3-to-float (function).
define-x-float (macro).
float-to-0.1.1 (function).
float-to-0.2.1 (function).
float-to-1.1.1 (function).
float-to-1.2.1 (function).
float-to-1.3.2 (function).
float-to-1.3.4 (function).
float-to-1.4.3 (function).
float-to-1.4.3-2 (function).
least-negative-1.1.1 (special variable).
least-negative-1.2.1 (special variable).
least-negative-1.3.2 (special variable).
least-negative-1.3.4 (special variable).
least-negative-1.4.3 (special variable).
least-negative-1.4.3-2 (special variable).
least-positive-0.1.1 (special variable).
least-positive-0.2.1 (special variable).
least-positive-1.1.1 (special variable).
least-positive-1.2.1 (special variable).
least-positive-1.3.2 (special variable).
least-positive-1.3.4 (special variable).
least-positive-1.4.3 (special variable).
least-positive-1.4.3-2 (special variable).
most-negative-1.1.1 (special variable).
most-negative-1.2.1 (special variable).
most-negative-1.3.2 (special variable).
most-negative-1.3.4 (special variable).
most-negative-1.4.3 (special variable).
most-negative-1.4.3-2 (special variable).
most-positive-0.1.1 (special variable).
most-positive-0.2.1 (special variable).
most-positive-1.1.1 (special variable).
most-positive-1.2.1 (special variable).
most-positive-1.3.2 (special variable).
most-positive-1.3.4 (special variable).
most-positive-1.4.3 (special variable).
most-positive-1.4.3-2 (special variable).
least-negative-1.2.1-abnormal (special variable).
least-positive-1.2.1-abnormal (special variable).
most-negative-1.2.1-abnormal (special variable).
most-positive-1.2.1-abnormal (special variable).
with-float-fields (macro).
Packages are listed by definition order.
cl-minifloats‘cl-minifloats’ provides
- Float type definition (‘define-x->float’);
- Conversion to regular/single float (numerous X.X.X-to-float functions) and back (float-to-X.X.X);
- Infinity (X.X.X-infinity-p) and NaN (X.X.X-nan-p) checking;
- most-positive-X.X.X and least-positive-X.X.X (same for negatives where applicable) constants;
- And meaningfully defined infinity (X.X.X-positive/negative-infinity
for signed floats, X.X.X-infinity for unsigned) and NaN (X.X.X-nan)
constants.
Some minifloat types are provided for convenience.
common-lisp.
0.1.1-float (type).
0.1.1-infinity (special variable).
0.1.1-infinity-p (function).
0.1.1-nan (special variable).
0.1.1-nan-p (function).
0.1.1-to-float (function).
0.2.1-float (type).
0.2.1-infinity (special variable).
0.2.1-infinity-p (function).
0.2.1-nan (special variable).
0.2.1-nan-p (function).
0.2.1-to-float (function).
1.1.1-float (type).
1.1.1-infinity-p (function).
1.1.1-nan (special variable).
1.1.1-nan-p (function).
1.1.1-negative-infinity (special variable).
1.1.1-positive-infinity (special variable).
1.1.1-to-float (function).
1.2.1-abnormal-float (type).
1.2.1-abnormal-to-float (function).
1.2.1-float (type).
1.2.1-infinity-p (function).
1.2.1-nan (special variable).
1.2.1-nan-p (function).
1.2.1-negative-infinity (special variable).
1.2.1-positive-infinity (special variable).
1.2.1-to-float (function).
1.3.2-float (type).
1.3.2-infinity-p (function).
1.3.2-nan (special variable).
1.3.2-nan-p (function).
1.3.2-negative-infinity (special variable).
1.3.2-positive-infinity (special variable).
1.3.2-to-float (function).
1.3.4-float (type).
1.3.4-infinity-p (function).
1.3.4-nan (special variable).
1.3.4-nan-p (function).
1.3.4-negative-infinity (special variable).
1.3.4-positive-infinity (special variable).
1.3.4-to-float (function).
1.4.3-2-float (type).
1.4.3-2-infinity-p (function).
1.4.3-2-nan (special variable).
1.4.3-2-nan-p (function).
1.4.3-2-negative-infinity (special variable).
1.4.3-2-positive-infinity (special variable).
1.4.3-2-to-float (function).
1.4.3-float (type).
1.4.3-infinity-p (function).
1.4.3-nan (special variable).
1.4.3-nan-p (function).
1.4.3-negative-infinity (special variable).
1.4.3-positive-infinity (special variable).
1.4.3-to-float (function).
define-x-float (macro).
float-to-0.1.1 (function).
float-to-0.2.1 (function).
float-to-1.1.1 (function).
float-to-1.2.1 (function).
float-to-1.3.2 (function).
float-to-1.3.4 (function).
float-to-1.4.3 (function).
float-to-1.4.3-2 (function).
least-negative-1.1.1 (special variable).
least-negative-1.2.1 (special variable).
least-negative-1.3.2 (special variable).
least-negative-1.3.4 (special variable).
least-negative-1.4.3 (special variable).
least-negative-1.4.3-2 (special variable).
least-positive-0.1.1 (special variable).
least-positive-0.2.1 (special variable).
least-positive-1.1.1 (special variable).
least-positive-1.2.1 (special variable).
least-positive-1.3.2 (special variable).
least-positive-1.3.4 (special variable).
least-positive-1.4.3 (special variable).
least-positive-1.4.3-2 (special variable).
most-negative-1.1.1 (special variable).
most-negative-1.2.1 (special variable).
most-negative-1.3.2 (special variable).
most-negative-1.3.4 (special variable).
most-negative-1.4.3 (special variable).
most-negative-1.4.3-2 (special variable).
most-positive-0.1.1 (special variable).
most-positive-0.2.1 (special variable).
most-positive-1.1.1 (special variable).
most-positive-1.2.1 (special variable).
most-positive-1.3.2 (special variable).
most-positive-1.3.4 (special variable).
most-positive-1.4.3 (special variable).
most-positive-1.4.3-2 (special variable).
least-negative-1.2.1-abnormal (special variable).
least-positive-1.2.1-abnormal (special variable).
most-negative-1.2.1-abnormal (special variable).
most-positive-1.2.1-abnormal (special variable).
with-float-fields (macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Define a new minifloat type.
SIGN is the number of sign bits (1 or 0)
EXPONENT is the (positive) number of exponent bits.
SIGNIFICAND is the number of mantissa/significand bits.
BIAS is the exponent bias, defaults to 2^(EXPONENT-1)-1.
SPECIAL 4-bit ML MINIFLOATs to single floats.
| Jump to: | 0
1
D F M W |
|---|
| Jump to: | 0
1
D F M W |
|---|
| Jump to: | 0
1
L M S |
|---|
| Jump to: | 0
1
L M S |
|---|
| Jump to: | 0
1
C F P S T |
|---|
| Jump to: | 0
1
C F P S T |
|---|