Boost C++ Libraries: Ticket #11971: polygon_set_data<int32_t> has problems near INT_MAX https://svn.boost.org/trac10/ticket/11971 <p> When I try to use boost::polygon::operators::operator&amp; to AND a polygon set with a very large rectangle (i.e. something close to (INT_MIN,INT_MIN,INT_MAX,INT_MAX)) -- which should be the identity operation -- the internal data structure appears to get corrupted. </p> <p> I am attaching a simple test case to illustrate the problem. Note that using an upper bound of INT_MAX-100 still fails, but INT_MAX/2 works as expected. </p> <p> I do not see any mention of limitations on the range of integer coordinates in the documentation. Should there be one? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11971 Trac 1.4.3 lopresti@… Tue, 09 Feb 2016 22:10:50 GMT attachment set https://svn.boost.org/trac10/ticket/11971 https://svn.boost.org/trac10/ticket/11971 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bug.cc</span> </li> </ul> <p> Test case demonstrating bug </p> Ticket