Fix behavior of geo_ops when NaN is involved

When Who What
2022-08-01 20:29:18 Jacob Champion (jchampion) Closed in commitfest 2022-07 with status: Returned with feedback
2022-07-18 22:43:45 Jacob Champion (jchampion) Changed reviewers to Julien Rouhaud (rjuju), Georgios Kokolatos (gkokolatos)
2022-07-15 21:14:07 Jacob Champion (jchampion) Changed reviewers to
2022-03-31 09:39:14 Kyotaro Horiguchi (horiguti) Closed in commitfest 2022-03 with status: Moved to next CF
2022-02-02 16:21:28 Julien Rouhaud (rjuju) Closed in commitfest 2022-01 with status: Moved to next CF
2021-12-03 07:32:16 Michael Paquier (michael-kun) Closed in commitfest 2021-11 with status: Moved to next CF
2021-10-06 13:11:29 Jaime Casanova (jcasanov) Closed in commitfest 2021-09 with status: Moved to next CF
2021-08-03 02:20:42 Masahiko Sawada (masahikosawada) Closed in commitfest 2021-07 with status: Moved to next CF
2021-04-08 15:39:25 David Steele (dsteele) Closed in commitfest 2021-03 with status: Moved to next CF
2021-04-03 20:38:52 Tom Lane (tgl) Removed tgl from committers
2021-03-31 04:04:04 Julien Rouhaud (rjuju) Added rjuju as reviewer
2021-02-01 12:19:48 Masahiko Sawada (masahikosawada) Closed in commitfest 2021-01 with status: Moved to next CF
2020-12-01 15:33:25 Anastasia Lubennikova (lubennikovaav) Closed in commitfest 2020-11 with status: Moved to next CF
2020-12-01 15:33:07 Anastasia Lubennikova (lubennikovaav) New status: Needs review
2020-11-10 19:47:23 Tom Lane (tgl) New status: Waiting on Author
2020-11-04 22:02:48 Tom Lane (tgl) Added tgl as committer
2020-11-02 14:43:32 Georgios Kokolatos (gkokolatos) Posted comment with messageid <160432821289.4948.14923997102291525764.pgcf@coridan.postgresql.org>
2020-11-02 14:43:32 Georgios Kokolatos (gkokolatos) New status: Ready for Committer
2020-09-30 06:39:05 Michael Paquier (michael-kun) Closed in commitfest 2020-09 with status: Moved to next CF
2020-09-03 12:14:12 Georgios Kokolatos (gkokolatos) Added gkokolatos as reviewer
2020-08-31 09:13:10 Kyotaro Horiguchi (horiguti) Changed authors to Kyotaro Horiguchi (horiguti)
2020-08-31 09:12:57 Kyotaro Horiguchi (horiguti) Attached mail thread CAGf+fX70rWFOk5cd00uMfa__0yP+vtQg5ck7c2Onb-Yczp0URA@mail.gmail.com
2020-08-31 09:12:56 Kyotaro Horiguchi (horiguti) Created patch record