All Manuals > Foreign Language Interface User Guide and Reference Manual > 8 Type Reference

:lisp-float FLI Type Descriptor

Summary

Converts between any Lisp float and the C double type or the C float type.

Package

keyword

Syntax

:lisp-float &optional float-type

float-type ::= :single | :double

Arguments
float-type
Determines the C type to convert to. The default is :single.
Description

The FLI type :lisp-float converts between any Lisp float and either the C float or the C double type. The default is to convert to the C float type, but by specifying :double for float-type, conversion occurs between any Lisp float and the C double type.

See also

:double
:float
2.1.2 Floating point types


Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:59