[geos-devel] [GEOS] #869: CommonBits::zeroLowerBits undefined behavior

GEOS geos-trac at osgeo.org
Thu Sep 19 00:37:46 PDT 2019


#869: CommonBits::zeroLowerBits undefined behavior
-------------------------------+---------------------------
 Reporter:  goatbar            |       Owner:  geos-devel@…
     Type:  defect             |      Status:  closed
 Priority:  minor              |   Milestone:  3.6.4
Component:  Default            |     Version:  3.6.2
 Severity:  Unassigned         |  Resolution:  fixed
 Keywords:  UndefinedBehavior  |
-------------------------------+---------------------------

Comment (by nila):

 @pramsey I noticed the initial commits didn't fall out well on some
 builds.

 I could not reproduce the failure, but perhaps using {{{std::uint64_t}}}
 would make any difference.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/869#comment:10>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list