fpclassify
fpclassify floatValue
The class of a number: zero, subnormal, normal, infinite, or nan.
Examples
fpclassify 1.5givesnormalfpclassify 1e-310givessubnormalfpclassify Infgivesinfinite
Facts
- Capability: none.
- Compute cost: one compute unit for the call, and more for the commands that it runs.
- Release: Tcl 9.1 only. A script has the command when ztcl follows Tcl 9.1, with
--tcl 9.1. See Tcl 9.1.