[postgis-tickets] [PostGIS] #4629: Remove NUMERICFLAGS

PostGIS trac at osgeo.org
Wed Jan 29 04:24:46 PST 2020


#4629: Remove NUMERICFLAGS
-------------------------+---------------------------
 Reporter:  Algunenano   |      Owner:  Algunenano
     Type:  enhancement  |     Status:  assigned
 Priority:  medium       |  Milestone:  PostGIS 3.1.0
Component:  postgis      |    Version:  master
 Keywords:               |
-------------------------+---------------------------
 While looking at other flags, I noticed the existence of `NUMERICFLAGS`
 which activates `-ffloat-store` if available.

 I have 2 issues with this:
 * It's only used in some parts (liblwgeom/ and libpgcommon/), while other
 folders know nothing about it.
 * It's bad for precision (you voluntarily accept less precision) and, I
 guess, performance since you are not using the registers.

 As of today, I get the same results for clang (without that option) and
 with GCC (which has that flag available), so I suggest dropping it
 altogether and in the case that we find some difference in an output, try
 to change it to allow both 80bit and 64bit precision in double operations.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4629>
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