man.bsd.lv manual page server

Manual Page Search Parameters

FINITE(3) Library Functions Manual FINITE(3)

finite, finiteftests for finite values

library “libm”

#include <math.h>

int
finite(double x);

int
finitef(float x);

The () function returns the value 1 when
-infinity < x < +infinity.

Otherwise a zero is returned (that is, |x| = infinity or x is NaN).

isfinite(3), math(3)

The described functions conform to IEEE Std 754-1985. Note that unlike isfinite(3), neither function is present in the ISO C-language standards or in the IEEE POSIX standards.

The finite and finitef() functions first appeared in 4.3BSD.

July 28, 2011 NetBSD-9.2