Rounds the given float to single-precision format (32 bits) and returns it as a
The argument is rounded to single-precision format (32 bits) and returned as a
(64 bits). This function allows you to model the rounding behaviour of a machine or implementation that performs 32-bit floating point arithmetic.
The default size on Windows and Linux is 64 bits as specified by the IEEE standard.
LispWorks supports 3 floating point formats,
. If this function is called with a
, it returns the equivalent
, that is, it is the same as doing
LispWorks 4.4 and previous on Windows and Linux platforms supports just one floating point format. In LispWorks 5.0 and later, three floating point formats are supported on all platforms.
CL-USER 197 > pi
CL-USER 198 > round-to-single-precision pi
LispWorks Reference Manual - 20 Jul 2006