[postgis-devel] [PostGIS] #703: measures test failure

PostGIS trac at osgeo.org
Mon Dec 13 07:33:16 PST 2010


#703: measures test failure
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by nicklas):

 I see the same difference in a standalone c-program.

 compile and run the attached file test.c

 I get different result on the 32 bit system and the 64 bit system.

 The values I use in test.c corresponds to the query in the post above.

 I have not tried in windows (32 bit) but I expect it to behave like 64 bit
 linux from what I have seen earlier.

 My results is:[[BR]]
 [[BR]]
 Ubuntu 64 bit 10.4:[[BR]]
 r_top=-1.1000000000000000e+03[[BR]]
 r_bot=-1.3750000000000000e+03[[BR]]
 r=8.0000000000000004e-01[[BR]]
 [[BR]]
 px=0.0000000000000000e+00[[BR]]
 py=0.0000000000000000e+00[[BR]]
 [[BR]]
 Ubuntu 32 bit 10.10:[[BR]]
 r_top=-1.1000000000000000e+03[[BR]]
 r_bot=-1.3750000000000000e+03[[BR]]
 r=8.0000000000000004e-01[[BR]]
 [[BR]]
 px=2.2204460492503131e-15[[BR]]
 py=1.1102230246251565e-15[[BR]]
 [[BR]]

 Little strange. I think the mystery behind #503 is in the same
 neighbourhood.

 /Nicklas

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/703#comment:7>
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-devel mailing list