Download   Online Shop   Red Hat Network
Home  |  Products  |  Shop  |  Services  |  Training  |  Support   
Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3)

Manpage of ISINF

ISINF

Section: Linux Programmer's Manual (3)
Updated: June 2, 2025
Index  

NAME

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

SYNOPSIS

#include <math.h>
int isinf(double value);
int isnan(double value);
int finite(double value);
 

DESCRIPTION

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

BSD 4.3


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO

This document was created by using the manual pages.
Time: 11:58:04 GMT, March 24, 2025

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2000 Red Hat, Inc. All right reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat