projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95165a3
)
[flang] Make thorough test thorough again
author
peter klausler
<pklausler@nvidia.com>
Fri, 16 Aug 2019 18:13:58 +0000
(11:13 -0700)
committer
peter klausler
<pklausler@nvidia.com>
Fri, 23 Aug 2019 18:31:27 +0000
(11:31 -0700)
Original-commit: flang-compiler/f18@
c24b10e4347234f6f1a9f127abf0d47f2b954204
Reviewed-on: https://github.com/flang-compiler/f18/pull/671
Tree-same-pre-rewrite: false
flang/test/decimal/thorough-test.cc
patch
|
blob
|
history
diff --git
a/flang/test/decimal/thorough-test.cc
b/flang/test/decimal/thorough-test.cc
index
5e85059
..
a973c37
100644
(file)
--- a/
flang/test/decimal/thorough-test.cc
+++ b/
flang/test/decimal/thorough-test.cc
@@
-73,7
+73,7
@@
void testReadback(float x, int flags) {
int main() {
float x;
std::uint32_t *ix{reinterpret_cast<std::uint32_t *>(&x)};
- for (*ix = 0
x7f7ffff0 /*pmk!! 0*/
; *ix < 0x7f800010; ++*ix) {
+ for (*ix = 0; *ix < 0x7f800010; ++*ix) {
testReadback(x, 0);
testReadback(-x, 0);
testReadback(x, Minimize);