Top | Up (Math) | < Previous (POW) | Next (PAGE NAME) >
Checks if a number is infinity or NaN.
CLASSIFY number# OUT group%
parameter | description |
---|---|
number# | the number to check |
Output | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
group% |
|
PRINT CLASSIFY(10) '0 (normal)
PRINT CLASSIFY(EXP(999)) '1 (infinity)
PRINT CLASSIFY(EXP(999)*0) '2 (nan)
Introduced.1
1 SmileBoom, “Additions/Changes in Ver. 3.1.0 (March 4, 2015).” http://smilebasic.com/en/debug/archive/