ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   12 Numbers   12.2 Dictionary of Numbers

12.2.75 floatp Function

Syntax:
floatp object

generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

Description:
Returns true if object is of type float; otherwise, returns false.

Examples:
 (floatp 1.2d2)  true
 (floatp 1.212)  true
 (floatp 1.2s2)  true
 (floatp (expt 2 130))  false

Notes:
 (floatp object) ==(typep object 'float)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2019 - File last updated 02-07-2019