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

  man pages->OpenBSD man pages -> isinff (3)              
Title
Content
Arch
Section
 

ISINF(3)

Contents


NAME    [Toc]    [Back]

     isinf, isinff, isnan, isnanf - test for infinity  or  not-anumber

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     int
     isinf(double n);

     int
     isinff(float n);

     int
     isnan(double n);

     int
     isnanf(float n);

DESCRIPTION    [Toc]    [Back]

     The  isinf() function returns 1 if the number n is Infinity,
otherwise 0.
     The isinff() function  is  a  single  precision  version  of
isinf().

     The  isnan()  function returns 1 if the number n is ``not-anumber'', otherwise
 0.  The isnanf() function is a single precision  version of
     isnan().

SEE ALSO    [Toc]    [Back]

      
      
     math(3)

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

BUGS    [Toc]    [Back]

     VAX floating point does not have  distinguished  values  for
either infinity
     or not-a-number.  These routines always return 0 on that architecture.

OpenBSD     3.6                        January      29,      1994
[ Back ]
 Similar pages
Name OS Title
isinff NetBSD test for infinity or not-a-number
isinf NetBSD test for infinity or not-a-number
isnanf NetBSD test for infinity or not-a-number
isinf Linux test for infinity or not-a-number (NaN)
isnan NetBSD test for infinity or not-a-number
ieee_finite IRIX Tests for x being greater than negative infinity and less than positive infinity.
feof Tru64 Test for EOF on a stream
ttcp IRIX test TCP and UDP performance
logbf NetBSD IEEE test functions
logb NetBSD IEEE test functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service