NextPrevUpTopContentsIndex

2.1.2 Floating point types

The FLI provides several different immediate types for the representation of floating point numbers. They consist of the following: :float, :lisp-double-float, :lisp-float, :lisp-short-float , and :lisp-single-float. The floating types all associate equivalent Lisp and C types, except the :lisp-float , which can take a modifier to cause an associations between different floating types. A :lisp-float associates a Lisp float with a C float by default, but a declaration of (:lisp-float :double) corresponds to a C double , for example.

Note: :lisp-short-float is available only in LispWorks for Unix and LispWorks for Macintosh.


LispWorks Foreign Language Interface User Guide and Reference Manual - 27 Mar 2005

NextPrevUpTopContentsIndex