*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> isinf (3)              
Title
Content
Arch
Section
 

ISINF(3)

Contents


NAME    [Toc]    [Back]

     isinf, isnan - test for infinity or not-a-number

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     int
     isinf(double);

     int
     isnan(double);

DESCRIPTION    [Toc]    [Back]

     The isinf() function returns 1 if the number is ``infinity'', otherwise
     0.

     The isnan() function returns 1 if the number is ``not-a-number'', otherwise
 0.

SEE ALSO    [Toc]    [Back]

      
      
     isinff(3), isnanf(3), math(3)

     IEEE Standard for Binary Floating-Point Arithmetic, Std 754-1985, ANSI.

BUGS    [Toc]    [Back]

     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.

BSD                            January 29, 1994                            BSD
[ Back ]
 Similar pages
Name OS Title
isinf Linux test for infinity or not-a-number (NaN)
isnan OpenBSD test for infinity or not-anumber
isinf OpenBSD test for infinity or not-anumber
isinff OpenBSD test for infinity or not-anumber
isnanf OpenBSD test for infinity or not-anumber
rndtest FreeBSD FIPS 140-2 random number generator test monitor
ieee_finite IRIX Tests for x being greater than negative infinity and less than positive infinity.
precision IRIX Returns the decimal precision of a number in the real number model
radix IRIX Returns the base number from the real or integer number models
ttcp IRIX test TCP and UDP performance
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service