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

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

ISINF(3)

Contents


NAME    [Toc]    [Back]

       isinf, isnan, finite - test for infinity or not-a-number (NaN)

SYNOPSIS    [Toc]    [Back]

       #include <math.h>

       int isinf(double value);

       int isnan(double value);

       int finite(double value);

DESCRIPTION    [Toc]    [Back]

       The  isinf() function returns -1 if value represents negative infinity,
       1 if value represents positive infinity, and 0 otherwise.

       The isnan() function returns a non-zero value if value  is  "not-a-number"
 (NaN), and 0 otherwise.

       The  finite()  function	returns  a  non-zero value if value is neither
       infinite nor a "not-a-number" (NaN) value, and 0 otherwise.

CONFORMING TO    [Toc]    [Back]

       BSD 4.3



GNU				  1993-06-02			      ISINF(3)
[ Back ]
 Similar pages
Name OS Title
isnan NetBSD test for infinity or not-a-number
isnanf NetBSD test for infinity or not-a-number
isinff NetBSD test for infinity or not-a-number
isinf NetBSD test for infinity or not-a-number
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.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service