This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// MAX(X, I) is typed FLOAT32 and holds the INTEGER 16777217, which no FLOAT32
|
||||
// holds. The store into Y rounds it; the checker sees a FLOAT32 going into a
|
||||
// FLOAT32 and keeps the value.
|
||||
// MUST-NOT-PROVE: assert@11
|
||||
DECLARE X : FLOAT32
|
||||
DECLARE Y : FLOAT32
|
||||
DECLARE I : INTEGER
|
||||
X <- 1.0
|
||||
I <- 16777217
|
||||
Y <- MAX(X, I)
|
||||
ASSERT Y == I
|
||||
Reference in new issue
Block a user