Hello,<br><br>Can you assign these tickets to me in trac? I'll look into it, as I wrote both those tests (rt_rotation_expected and rt_mapalgebrafctngb_userfunc_expected)<br><br>Thanks,<br>dzwarg<br><br><div class="gmail_quote">
On Wed, Jan 25, 2012 at 7:28 PM, Greg Troxel <span dir="ltr"><<a href="mailto:gdt@ir.bbn.com">gdt@ir.bbn.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I get two failures on the raster regression tests with:<br>
<br>
PostGIS is now configured for i386-unknown-netbsdelf5.1.<br>
<br>
-------------- Compiler Info -------------<br>
C compiler: gcc -g -O2<br>
C++ compiler: g++ -g -O2<br>
<br>
-------------- Dependencies --------------<br>
GEOS config: /usr/pkg/bin/geos-config<br>
GEOS version: 3.3.2<br>
GDAL config: /usr/pkg/bin/gdal-config<br>
GDAL version: 1.8.0<br>
PostgreSQL config: /usr/pkg/bin/pg_config<br>
PostgreSQL version: PostgreSQL 9.1.2<br>
PROJ4 version: 47<br>
Libxml2 config: /usr/pkg/bin/xml2-config<br>
Libxml2 version: 2.7.8<br>
JSON-C support: no<br>
PostGIS debug level: 0<br>
Perl: /usr/pkg/bin/perl<br>
<br>
--------------- Extensions ---------------<br>
PostGIS Raster: 0.1.6d<br>
PostGIS Topology: enabled<br>
<br>
-------- Documentation Generation --------<br>
xsltproc: /usr/pkg/bin/xsltproc<br>
xsl style sheets: /usr/pkg/share/xsl/docbook<br>
dblatex:<br>
convert: /usr/pkg/bin/convert<br>
<br>
<br>
The diffs follow, but basically I seem to get NaN instead of a value. I<br>
ran "paranoia"*, which when compiled with -ffloat-store was totally happy<br>
with my compiler/library/processor's arithmetic. So, while realizing<br>
that my results seem off, I wonder if<br>
<br>
anyone else sees this<br>
<br>
if the tests assume i386 extended double registers<br>
<br>
if the tests are known to pass on non-i386 (eg. sparc64) with a<br>
different floating point implementation<br>
<br>
anyone has any other clues<br>
<br>
<br>
I will update gdal and retry, but 1.8.0 is >= 1.6.0 which is documented<br>
to work.<br>
<br>
--- rt_rotation_expected <a href="tel:2012-01-12%2020" value="+12012011220">2012-01-12 20</a>:47:29.000000000 -0500<br>
+++ /tmp/pgis_reg_14681/test_18_out <a href="tel:2012-01-25%2019" value="+12012012519">2012-01-25 19</a>:12:25.000000000 -0500<br>
@@ -1,8 +1,8 @@<br>
-4|1x1, ip:7.5,2.5 scale:5,5 skew:1,1, srid:-1, width:1, height:1|0.197395559849881<br>
+4|1x1, ip:7.5,2.5 scale:5,5 skew:1,1, srid:-1, width:1, height:1|NaN<br>
5|1x1, ip:7.5,2.5 scale:5,5 skew:3,7, srid:-1, width:1, height:1|NaN<br>
104|5.09901951359278|5.09901951359278|0|0|0<br>
105|8.60232526704263|5.8309518948453|0|0|0<br>
-104|3.60555127546399|3.60555127546399|3.60555127546399|3.60555127546399|0.785398163397448<br>
-105|6.08276253029822|4.12310562561766|4.12310562561766|6.08276253029822|0.785398163397448<br>
-104|4.41588043316392|4.41588043316392|2.54950975679639|2.54950975679639|0.523598775598299<br>
-105|7.44983221287567|5.04975246918104|2.91547594742265|4.30116263352131|0.523598775598299<br>
+104|3.60555127546399|3.60555127546399|3.60555127546399|3.60555127546399|NaN<br>
+105|6.08276253029822|4.12310562561766|4.12310562561766|6.08276253029822|NaN<br>
+104|4.41588043316392|4.41588043316392|2.54950975679639|2.54950975679639|NaN<br>
+105|7.44983221287567|5.04975246918104|2.91547594742265|4.30116263352131|NaN<br>
--- rt_mapalgebrafctngb_userfunc_expected 2012-01-12 20:47:29.000000000 -0500<br>
+++ /tmp/pgis_reg_14681/test_48_out 2012-01-25 19:12:31.000000000 -0500<br>
@@ -26,6 +26,6 @@<br>
t|t<br>
t|t<br>
t|t<br>
-t|t<br>
+ERROR: input is out of range<br>
t<br>
t<br>
<br>
<br>
<br>
* <a href="http://www.netlib.org/paranoia/" target="_blank">http://www.netlib.org/paranoia/</a><br>
<br>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
<br></blockquote></div><br>