postgrespro/pgsphere

strans is broken

Closed this issue · 4 comments

There is an issue with strans that was reported in another repo. Check and fix it in our repo.

akorotkov/pgsphere#11

Could be related to this precision issue?

akorotkov/pgsphere#13

I see a lot of floats in the code. Would changing everything to double precision be a good idea?

I think double precision should be ok. I haven't looked at this problem yet. I think it may be related to the custom epsilon that is choosen as 1E-9 in pgsphere (pg_sphere.h:48). May be it is the source of the problem. May be we should make EPSILON smaller.

Issue can be closed, probably, @vitcpp

@stepan-neretin7 Thank you for your contribution. Closing the issue.