ISINF(3) BSD Programmer's Manual ISINF(3)
i
\bis
\bsi
\bin
\bnf
\bf, i
\bis
\bsn
\bna
\ban
\bn - test for infinity or not-a-number (_
\bN_
\ba_
\bN)
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
i
\bis
\bsi
\bin
\bnf
\bf(_
\bd_
\bo_
\bu_
\bb_
\bl_
\be);
i
\bis
\bsn
\bna
\ban
\bn(_
\bd_
\bo_
\bu_
\bb_
\bl_
\be);
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
The i
\bis
\bsn
\bni
\bin
\bnf
\bf() function returns 1 if the number is ``infinity'', otherwise
The i
\bis
\bsn
\bna
\ban
\bn() function returns 1 if the number is ``_
\bN_
\ba_
\bN'', otherwise 0.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
_
\bI_
\bE_
\bE_
\bE _
\bS_
\bt_
\ba_
\bn_
\bd_
\ba_
\br_
\bd _
\bf_
\bo_
\br _
\bB_
\bi_
\bn_
\ba_
\br_
\by _
\bF_
\bl_
\bo_
\ba_
\bt_
\bi_
\bn_
\bg_
\b-_
\bP_
\bo_
\bi_
\bn_
\bt _
\bA_
\br_
\bi_
\bt_
\bh_
\bm_
\be_
\bt_
\bi_
\bc, Std 754-1985, ANSI.
Neither the VAX nor the Tahoe floating point have distinguished values
for either infinity or not-a-number. These routines always return 0 on