finite.c   [plain text]


int
finite(n)
    double n;
{
    return !isnan(n) && !isinf(n);
}