[geos-devel] Numerical stability and -ffloat-store flag

strk strk at keybit.net
Wed Apr 15 10:17:12 EDT 2009


Some of you may remember the numerical stability issue
I've been struggling with 3 years ago:
http://lists.osgeo.org/pipermail/geos-devel/2006-April/002202.html

That problem shows up again now that I added a testcase
for buffering operation taken from JTS repository:
TestBufferExternal2.xml.

The test succeeds on a 64bit system, fails on a 32bit one, adding
this other variable to the already complex situation.

Both me and Mateusz confirmed adding -ffloat-store to CFLAGS
fixed the run on 32bit system too, so I suggest we add
that flag by default, for improved numerical stability, when
available in the compiler.

Ok for everyone ? 

--strk; 

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 


More information about the geos-devel mailing list