We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a18f3 commit 7d7f1adCopy full SHA for 7d7f1ad
examples/FIR.scala
@@ -43,10 +43,9 @@ class FIRTests(c: FIR) extends Tester(c) {
43
poke(c.io.x, lx.litValue())
44
val res = x * c.ws(0).floLitValue + px * c.ws(1).floLitValue
45
println("TST X = " + x + " Flo(x) " + lx.floLitValue + " RES = " + res);
46
- px = x
+ val expectedFloat = java.lang.Float.intBitsToFloat(Flo(res).litValue().toInt)
47
+ expect(c.io.z, expectedFloat)
48
step(1)
- expect(c.io.z, Flo(res).litValue())
49
+ px = x
50
}
- // CURRENTLY FAILS
51
- ok = true
52
0 commit comments