Fix random number generation and floating point comparison in matrix-types-spec.cpp
The testsuite is failing on PowerPC buildbots due to https://reviews.llvm.org/D72770.
Looks like we are using wrong type generator for double.
We are also using EXPECT_MATRIX_EQ to do binary comparision of
floating point values before and afer multiplication. And there might be
small differences but within tolerance allowance.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D83910
(cherry picked from commit 4bdbe4ad9dd25b432d405d8a6ac6b7410da9b7a2)
1 file changed