mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix conversion.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
contract C {
|
||||
function test() public pure returns (uint a) {
|
||||
ufixed256x77 x = 1.0000001234;
|
||||
return uint(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> 0
|
||||
Reference in New Issue
Block a user