floatP

HC Data Structure Primitives Predicates floatP
UInt8P complexP

floatP thing
float? thing


outputs TRUE if the input is a floating point number, FALSE otherwise.

Examples:

float? 1.2		;true  ;-)
float? 1e-10		;true  ;-)
float? pi		;true  ;-)
float? FloatMax		;true  ;-)
float? "1		;false  ;-)
float? "1.2		;false  ;-)
float? float "1.2		;true  ;-)

Reference:

UInt8P complexP