# Seth Woolley's Man Viewer

## finite(3) - finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl - BSD floating point classification functions - man 3 finite

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

```FINITE(3)                  Linux Programmer's Manual                 FINITE(3)

NAME
finite,  finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl
- BSD floating point classification functions

SYNOPSIS
#define _BSD_SOURCE
#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);

DESCRIPTION
The finite functions return a non-zero value if(3,n) x is  neither  infinite
nor a "not-a-number" (NaN) value, and 0 otherwise.

The  isnan functions return a non-zero value if(3,n) x is a NaN value, and 0
otherwise.

The isinf functions return 1 if(3,n) x is plus infinity, -1 is  x  is  minus
infinity, and 0 otherwise.

NOTE
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 fpclas-
sify(3).

AVAILABILITY
On a glibc system,  these  functions  are  declared  by  <math.h>  when
_BSD_SOURCE  or  _SVID_SOURCE  or  _GNU_SOURCE is defined.  The isnan()
functions will also be declared when _XOPEN_SOURCE is defined.

HISTORY
The finite function occurs in(1,8) BSD 4.3.
{"ft_lang_label":"__label__en","ft_lang_prob":0.61272156,"math_prob":0.9487286,"size":1468,"snap":"2019-13-2019-22","text_gpt3_token_len":423,"char_repetition_ratio":0.17144808,"word_repetition_ratio":0.15023474,"special_character_ratio":0.25885558,"punctuation_ratio":0.16382253,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95968455,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-03-20T09:36:17Z\",\"WARC-Record-ID\":\"<urn:uuid:4fc1b90c-6c86-4c66-9278-1bb683c38ed6>\",\"Content-Length\":\"12814\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1cfab8d2-b1da-44f9-b057-563a50e11f6e>\",\"WARC-Concurrent-To\":\"<urn:uuid:4fee1a33-518c-4e5f-a20c-e2d2c596852d>\",\"WARC-IP-Address\":\"207.224.31.113\",\"WARC-Target-URI\":\"http://swoolley.org/man.cgi/3/finite\",\"WARC-Payload-Digest\":\"sha1:HCEHTZJXSZAUICV4AK2DIEUXHAHIJ2DT\",\"WARC-Block-Digest\":\"sha1:YFC3NA7OKU3MVYB5Z3BMDG5EBDCRBE5R\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-13/CC-MAIN-2019-13_segments_1552912202324.5_warc_CC-MAIN-20190320085116-20190320111116-00329.warc.gz\"}"}