BSD 4_4 development
[unix-history] / usr / share / man / cat3 / isnan.0
ISINF(3) BSD Programmer's Manual ISINF(3)
N\bNA\bAM\bME\bE
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
_\bi_\bn_\bt
i\bis\bsi\bin\bnf\bf(_\bd_\bo_\bu_\bb_\bl_\be);
_\bi_\bn_\bt
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
0.
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
math(3)
_\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.
B\bBU\bUG\bGS\bS
Neither the VAX nor the Tahoe floating point have distinguished values
for either infinity or not-a-number. These routines always return 0 on
those architectures.
4.4BSD June 4, 1993 1