I want to share a frustration I experienced in compiling my plugin for Windows. I'm using MinGW and MSYS for this.

When Xcode converts the double 4294967296. (in Hex that's 100000000) to UINT32 it yields 0xFFFFFFFF. MinGW, however, yields 0. In MinGW that fouled up my integer division routine for rare inputs. But this gave a completely wrong answer for Euler's Constant. That's how I found the problem, and solved it.

My own opinion is that 0xFFFFFFFF is a better conversion to UINT32 from a larger number than the zero that MinGW yields.

Bob


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to