boostorg / interval

Boost.org numeric interval library
http://boost.org/libs/numeric/interval/doc
Boost Software License 1.0
24 stars 44 forks source link

Fix and test for ticket #4964 - assert in debug mode on x64 #7

Closed fkonvick closed 10 years ago

fkonvick commented 10 years ago

[This is a new version of the ex-pull request #6; this new one is set up for the develop branch.]

This fixes #4964 and adds a testcase which used to trigger the assert. Note that the testcase only fails on x64 (address-model=64) in debug mode on Windows (and when the fix is not in place, obviously). I haven't had a chance to test this on ARM, but MSDN is clear on that this applies to ARM in the same way so the fix also applies to that platform.

mclow commented 10 years ago

This looks good to me. Please ping me in a couple days (after the tests have cycled), and I will merge to the master branch as well.

fkonvick commented 9 years ago

Ping :)