I have a table containing in each row the a, b and c parameters to an exponential curve in the following formula:
a*exp(-b*x)+c
All columns are of type double precision. I wish to sample each curve at a specific value of x and record its value in a new column. However, doing so causes an underflow error.
>update curve_by_wkt set samplepoint05 = a*exp(-b*0.05)+c;
ERROR: value out of range: underflow
There is no way I can manually check which values of a, b, c are causing the calculation to fail. What I do know is that extreme precision is not needed, and that values outside a certain range are likely irrelevant.
I would like to know if there is any way I could get the calculation to complete, given my disregard for precision.
Thanks