Re: [sqlite] function named geopolyCosine is a misnomer

2018-12-01 Thread Richard Hipp
On 12/1/18, John G wrote: > Is there any documentation on the > geopoly extension? > https://www.sqlite.org/search?s=d&q=geopoly https://www.sqlite.org/geopoly.html -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@mailingl

Re: [sqlite] function named geopolyCosine is a misnomer

2018-12-01 Thread John G
If I missed i tin earlier posts, sorry. Is there any documentation on the geopoly extension? With possible uses or examples? John On Thu, 29 Nov 2018 at 14:39, Richard Hipp wrote: > On 11/29/18, Thomas Kurz wrote: > > Could it be that the one angle is north-based, the other one east-based? > >

Re: [sqlite] function named geopolyCosine is a misnomer

2018-11-29 Thread Richard Hipp
On 11/29/18, Thomas Kurz wrote: > Could it be that the one angle is north-based, the other one east-based? Ha Ha. No, Graham is right. I started out writing a Cosine function, then I switched it over to be a Sine function but failed to change the name. A rename has now been committed to trunk,

Re: [sqlite] function named geopolyCosine is a misnomer

2018-11-29 Thread Thomas Kurz
Could it be that the one angle is north-based, the other one east-based? - Original Message - From: Graham Hardman To: SQLite mailing list Sent: Thursday, November 29, 2018, 12:46:05 Subject: [sqlite] function named geopolyCosine is a misnomer Hi, I was very interested in the

[sqlite] function named geopolyCosine is a misnomer

2018-11-29 Thread Graham Hardman
Hi, I was very interested in the numerical approximation used in the function named geopolyCosine and after a bit of on-line research decided to test it's accuracy myself. What I discovered was that the function in fact returns the sin value rather than the cosine value. This is quickly noticed