[PATCH] fpcmp fix (wrt sqlite3)
Michael Gottesman
mgottesman at apple.com
Sat Apr 6 08:24:20 PDT 2013
Go ahead, I was trying to be helpful if I could be = ).
Michael
On Apr 6, 2013, at 4:47 AM, Renato Golin <renato.golin at linaro.org> wrote:
> Hi Michael,
>
> Are you happy that I commit this just to make the tests happy and later on we do a better analysis on the tool?
>
> cheers,
> --renato
>
>
> On 5 April 2013 01:20, Renato Golin <renato.golin at linaro.org> wrote:
> On 5 April 2013 00:57, Renato Golin <renato.golin at linaro.org> wrote:
> I'll share my results once they're done, and while that, the test-suite is running with the new fpcmp.
>
> Patch attached. Whole test-suite pass (voronoi still fails, as before, unrelated).
>
> Some simple extra tests:
>
> 1.31231312,3
> 1.3123131,3
> Old: would compare 1.31231312 with 3 and fail
> New, as expected: e-7 pass, e-8 fails
>
> 1231.23123123
> 123.123123123
> Both behave well
>
> 421.41414abcdef
> 421.4141411abcdef
> Old: FP Comparison failed, not a numeric difference between 'a' and '4'
> New, as expected: e-8 pass, e-9 fails
>
> lalala 123foo
> lalala123foo
> Both behave well
>
> 31,312.312
> 31,312.31
> At the end of a file.
> Old, as expected, not a numeric difference between '' and '3'
> New, as expected, reports the error e-6 and beyond
>
> cheers,
> --renato
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130406/de0f2776/attachment.html>
More information about the llvm-commits
mailing list