Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/effect.c:
memcmp_ret = memcmp( ((unsigned char*)result_buf) + (single_size * y),
((unsigned char*)test_set_raw_data_values[x].expected_data) +
(single_size * y),
single_size );
if (memcmp_ret != 0)
{
dbg_print_bits( ((unsigned char*)result_buf) + (single_size * y),
single_size, result_bit_buf );
dbg_print_bits( ((unsigned char*)test_set_raw_data_values[x].expected_data) +
(single_size * y), single_size, expected_bit_buf );
}
switch (test_set_raw_data_values[x].param_type)
{
case D3DXPT_FLOAT:
ok( memcmp_ret == 0,
"Test #%#1.1x type %#1.1x var name %s index %#1.1x: got %#1.1f (bits: %s), expected %#1.1f (bits: %s).\n",
Please print floats using the "%.8e" specifier, like elsewhere in this file.