OSDN Git Service

[libc] Use a wrapper for rand instead of calling std::rand in fma tests.
authorSiva Chandra Reddy <sivachandra@google.com>
Wed, 6 Jan 2021 22:39:07 +0000 (14:39 -0800)
committerSiva Chandra Reddy <sivachandra@google.com>
Wed, 6 Jan 2021 23:07:44 +0000 (15:07 -0800)
commitf9e858f5fd74d0a1b127bf8979dc36bcad8b06d2
tree9cf887dbf29ded633b816c37a561807824c34d7d
parent41d919aa29468ac072755b8449b8a38ff26f6979
[libc] Use a wrapper for rand instead of calling std::rand in fma tests.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D94198
libc/test/src/math/FmaTest.h
libc/utils/testutils/CMakeLists.txt
libc/utils/testutils/RandUtils.cpp [new file with mode: 0644]
libc/utils/testutils/RandUtils.h [new file with mode: 0644]