NAME
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl - BSD floating-point classification functions
SYNOPSIS
#include <math.h> int finite(double x); int finitef(float x); int finitel(long double x); int isinf(double x); int isinff(float x); int isinfl(long double x); int isnan(double x); int isnanf(float x); int isnanl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): finite(), finitef(), finitel(): /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE isinf(): _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE isinff(), isinfl(): /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE isnan(): _XOPEN_SOURCE || _ISOC99_SOURCE || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE isnanf(), isnanl(): _XOPEN_SOURCE >= 600 || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
DESCRIPTION
The finite(), finitef(), and finitel() functions return a nonzero value if x is neither infinite nor a "not-a-number" (NaN) value, and 0 otherwise. The isnan(), isnanf(), and isnanl() functions return a nonzero value if x is a NaN value, and 0 otherwise. The isinf(), isinff(), and isinfl() functions return 1 if x is positive infinity, -1 if x is negative infinity, and 0 otherwise.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). ┌────────────────────────────────┬───────────────┬─────────┐ │Interface │ Attribute │ Value │ ├────────────────────────────────┼───────────────┼─────────┤ │finite(), finitef(), finitel(), │ Thread safety │ MT-Safe │ │isinf(), isinff(), isinfl(), │ │ │ │isnan(), isnanf(), isnanl() │ │ │ └────────────────────────────────┴───────────────┴─────────┘
NOTES
Note that these functions are obsolete. C99 defines macros isfinite(), isinf(), and isnan() (for all types) replacing them. Further note that the C99 isinf() has weaker guarantees on the return value. See fpclassify(3).
SEE ALSO
fpclassify(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2016-03-15 FINITE(3)
More Linux Commands
manpages/glColor4ub.3gl.html
glColor4ub(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va
manpages/XvSelectVideoNotify.3.html
XvSelectVideoNotify(3) - enable or disable VideoNotify event
XvSelectVideoNotify(3) enables or disables XvVideoNotify(3) events to be reported for video activity in a drawable. RETURN VALUES [Success] Returned if XvSelect
manpages/XML::DOM::EntityReference.3pm.html
XML::DOM::EntityReference(3pm) - An XML ENTITY reference in
XML::DOM::EntityReference extends XML::DOM::Node. EntityReference objects may be inserted into the structure model when an entity reference is in the source doc
manpages/cpowf.3.html
cpowf(3) - complex power function - Linux manual page.......
The function calculates x raised to the power z. (With a branch cut for x along the negative real axis.) VERSIONS These functions first appeared in glibc in ver
manpages/MIME::Decoder::NBit.3pm.html
MIME::Decoder::NBit(3pm) - encode/decode a "7bit" or "8bit"
This is a MIME::Decoder subclass for the 7bit and 8bit content transfer encodings. These are not encodings per se: rather, they are simply assertions of the con
manpages/xmlgraphics-fop-fontmetric.1.html
xmlgraphics-fop-fontmetric(1) - Reads TTF files and Generate
Classnames: org.apache.fop.fonts.apps.PFMReader and org.apache.fop.fonts.apps.TTFReader xmlgraphicsfopfontmetric [t | p] [options] [fontfile.ttf] ..........
manpages/XauGetAuthByAddr.3.html
XauGetAuthByAddr(3) - (unknown subject) - Linux manual page
XauFileName generates the default authorization file name by first checking the XAUTHORITY environment variable if set, else it returns $HOME/.Xauthority. This
manpages/snmp_sess_perror.3.html
snmp_sess_perror(3) - netsnmp_session_api functions.........
Snmp_sess_init prepares a netsnmp_session that sources transport characteristics and common information that will be used for a set of SNMP transactions. After
manpages/Fatal.3pm.html
Fatal(3pm) - Replace functions with equivalents which succee
Fatal provides a way to conveniently replace functions which normally return a false value when they fail with equivalents which raise exceptions if they are no
manpages/auparse_get_field_type.3.html
auparse_get_field_type(3) - get current field's data type...
auparse_get_field_type returns a value from the auparse_type_t enum that describes the kind of data in the current field of the current record in the current ev
manpages/Apache::TestMM.3pm.html
Apache::TestMM(3pm) - Provide MakeMaker Wrapper Methods.....
Apache::TestMM provides wrappers for the ExtUtils::MakeMaker craft, making it easier to extend the autogenerated Makefile with Apache::Test. FUNCTIONS import us
manpages/yaz-icu.1.html
yaz-icu(1) - YAZ ICU utility (Commands - Linux man page)....
yaz-icu is utility which demonstrates the ICU chain module of yaz. (yaz/icu.h). The utility can be used in two ways. It may read some text using an XML configur
