When a buffer comparison test fails, a hexadecimal format of the elements in the buffer is printed out. However, in certain scenarios, for float types, the hexadecimal format is messed up.
It looks like scientific notation is used instead to express the float value.
We should fix this output so that hexadecimal format is consistently used for all data types, regardless of comparison rule type.