I need to calculate log of (1 - (1+x)^(-1)). The problem being, one value of x in my dataset is extremely small (order of e-29). Python calculates the whole equation as zero and hence log gives a "math domain error". This is an important outlier for a meteorological dataset hence can't be ignored. Any help regarding this issue?
round() doesn't help.