Next: , Previous: , Up: Data Types   [Contents][Index]


2.1.3 Extended Floats

CMUCL also has an extension to support double-double-float type. This float format provides extended precision of about 31 decimal digits, with the same exponent range as double-float. It is completely integrated into CMUCL, and can be used just like any other floating-point object, including arrays, complex double-double-float’s, and special functions. With appropriate declarations, no boxing is needed, just like single-float and double-float.

The exponent marker for a double-double float number is “W”, so “1.234w0” is a double-double float number.

Note that there are a few shortcomings with double-double-float’s:

float: extensions:double-double-float

The double-double-float type. It is in the EXTENSIONS package.

Constant: extensions:dd-pi

A double-double-float approximation to \pi.


Next: Characters, Previous: Floats, Up: Data Types   [Contents][Index]