llvmpipe: Skip false exp2 failure in lp_test_arit due to buggy MSVCRT.
authorJose Fonseca <jfonseca@vmware.com>
Fri, 15 Apr 2016 10:02:06 +0000 (11:02 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 19 Apr 2016 10:31:53 +0000 (11:31 +0100)
commitbb9e8c5090f0826dcf24368f3017c784f45cfac8
tree04fabb76ed4fc138e38a29d223d536a6ad3612e6
parentee9876be1d0a1d4efd3bbee398f984d4eba1a6f6
llvmpipe: Skip false exp2 failure in lp_test_arit due to buggy MSVCRT.

64bits MSVCRT's exp2f(-inf) returns -inf instead of 0.  Tested with
MSVC 2013's CRT.  (I haven't tried 2015 yet.)

Also this does not happen with MinGW.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_test_arit.c