[postgis-tickets] [PostGIS] #4137: PostGIS 2.5.0beta1 fails tests on MIPS
PostGIS
trac at osgeo.org
Mon Sep 24 14:41:00 PDT 2018
#4137: PostGIS 2.5.0beta1 fails tests on MIPS
----------------------+---------------------------
Reporter: komzpa | Owner: pramsey
Type: defect | Status: reopened
Priority: medium | Milestone: PostGIS 2.5.1
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+---------------------------
Comment (by pramsey):
Well, I spent a great deal of time getting an emulated MIPS environment
set up but I cannot replicate the crasher at tickets.sql #2985.
Also, annoyingly, using nan("0") to get a formatted nan value, the MIPS
version returns 000000f47f while the intel one returns 000000f87f. The
both pass "isnan" tests fine, but that doesn't fix the hex-level checks
for equivalence. It might be better just to drop the POINT EMPTY tests or
replace them with something like
{{{
select st_isempty('010100002001000000000000000000f87f000000000000f87f');
select st_isempty('010100002001000000000000000000f47f000000000000f47f');
}}}
which just checks that a couple different NAN representations still get
read as nan and interpretted as POINT EMPTY
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4137#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list