User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:functions:floatp [2019/07/14 17:00]
cl:functions:floatp [2019/10/19 17:00] (current)
Line 1: Line 1:
 +====== Function FLOATP ======
 +
 +====Syntax====
 +  * floatp //object// → //​generalized-boolean//​
 +
 +====Arguments and Values====
 +  * //object// - an //​[[CL:​Glossary:​object]]//​.
 +  * //​generalized-boolean//​ - a //​[[CL:​Glossary:​generalized boolean]]//​.
 +
 +====Description====
 +Returns //​[[CL:​Glossary:​true]]//​ if //object// is of //​[[CL:​Glossary:​type]]//​ **[[CL:​Types:​float]]**;​ otherwise, returns //​[[CL:​Glossary:​false]]//​.
 +
 +====Examples====
 +<​blockquote>​
 +(floatp 1.2d2) <​r>//​[[CL:​Glossary:​true]]//​ </r>
 +(floatp 1.212) <​r>//​[[CL:​Glossary:​true]]//​ </r>
 +(floatp 1.2s2) <​r>//​[[CL:​Glossary:​true]]//​ </r>
 +(floatp ([[CL:​Functions:​expt]] 2 130)) → //​[[CL:​Glossary:​false]]// ​
 +</​blockquote>​
 +
 +====Side Effects====
 +None.
 +
 +====Affected By====
 +None.
 +
 +====Exceptional Situations====
 +None.
 +
 +====See Also====
 +None.
 +
 +====Notes====
 +<​blockquote> ​
 +(floatp //object//) ≡ ([[CL:​Functions:​typep]] //object// '​[[CL:​Types:​float]]) ​
 +</​blockquote>​
 +