Is fpclassify(x) == FP_NAN
functionally equivalent to isnan(x)
?
The same question goes for:
fpclassify(x) == FP_INFINITE
vs.isinf(x)
fpclassify(x) == FP_NORMAL
vs.isnormal(x)
fpclassify(x) == FP_SUBNORMAL
vs.issubnormal(x)
fpclassify(x) == FP_ZERO
vs.iszero(x)
If they are functionally equivalent, then why need of duplicates?