Re: [sqlite] Problem in sqlite3VXPrintf due to floating point optimization

2012-09-15 Thread Richard Hipp
On Fri, Sep 14, 2012 at 4:49 PM, van der Merwe, Ben wrote: > Hi, > > If we compile sqlite3.c (version 3.7.14) using Microsoft Visual C++ 2010 > with maximum optimization, /Ox, then we experience this problem: > > The code in sqlite3VXPrintf is sensitive to numerical

[sqlite] Problem in sqlite3VXPrintf due to floating point optimization

2012-09-15 Thread van der Merwe, Ben
Hi, If we compile sqlite3.c (version 3.7.14) using Microsoft Visual C++ 2010 with maximum optimization, /Ox, then we experience this problem: The code in sqlite3VXPrintf is sensitive to numerical optimization. With optimizations turned on, a number like: 99.943 *sometimes* is