For small values of value,
the logarithm of 1 + value is close to
zero. When the logarithm is evaluated directly, this
can cause significant round-off error. This function
resolves this problem by using a direct approvalueimations
for value close to 1.