Updated: 2021/Apr/14

FINITE(3) Library Functions Manual FINITE(3)NAMEfinite,finitef- tests for finite valuesLIBRARYMath Library (libm, -lm)SYNOPSIS#include<math.h>intfinite(double x); intfinitef(float x);DESCRIPTIONThefinite() function returns the value 1 when -infinity < x < +infinity. Otherwise a zero is returned (that is, |x| = infinity or x is NaN).SEEALSOisfinite(3), math(3)STANDARDSThe 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.HISTORYThefiniteandfinitef() functions first appeared in 4.3BSD. NetBSD 9.99 July 28, 2011 NetBSD 9.99