All Manuals > LispWorks® User Guide and Reference Manual > 33 The COMMON-LISP Package

single-float Type

Summary

A subtype of float.

Package

common-lisp

Signature

single-float

Description

The type single-float is disjoint from double-float in all LispWorks implementations, version 5.0 and later, but differs between 32-bit and 64-bit LispWorks.

single-float is disjoint from short-float in all 32-bit LispWorks implementations in version 5.0 and later. In 64-bit LispWorks, single-float is the same type as short-float.

A single-float is an immediate object in 64-bit LispWorks.

A single-float is a boxed object in 32-bit LispWorks.

Compatibility notes

In LispWorks 4.4 and previous on Windows and Linux platforms, single-float is the same type as double-float. However, there are distinct specialized array types (array single-float), with single precision, and (array double-float), with double precision.

See also

single-float in the Common Lisp HyperSpec
double-float
long-float
parse-float
short-float


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30