Computes the exponential with care to avoid under- or overflow.
USAGE:
care.exp(x, thresh)
ARGUMENTS:
x
a numeric vector
thresh
the threshold (default = +-80). Any values of
x exceeding
thresh in absolute value are assigned the value
sign(x)exp(thresh).
This is a support function for
make.family and
glm.links.
It is not intended to be called directly by users.