The erfcf(FLT_MAX)
produces 0.0f
and sets errno
to ERANGE
.
The erff(FLT_MAX)
produces 1.0f
and does not set errno
to ERANGE
.
In both cases returned results differ from the "true results" (i.e. obtained with infinite precision).
Why ERANGE
is set only for erfcf
?