Fix conversion.

This commit is contained in:
chriseth
2021-10-06 13:56:25 +02:00
parent c4c0d0502d
commit d33eaf48b8
3 changed files with 17 additions and 3 deletions
@@ -0,0 +1,10 @@
contract C {
function test() public pure returns (uint a) {
ufixed256x77 x = 1.0000001234;
return uint(x);
}
}
// ====
// compileViaYul: also
// ----
// test() -> 0